Request ServerVariables SERVER_NAME

SERVER_NAME

Host name, DNS alias or IP address of the web server. This is not necesarily the computer name of the web server and it has nothing to do with the address that the request used. It is the configured name of the website.

Value

requestservervariables.com

Examples

www.website.com or localhost or 192.168.0.45.

Common Tasks

Get name of website
Get address for website
         << Back