Request ServerVariables HTTP_HOST

HTTP_HOST

Returns the name of the website. This might not be the same as SERVER_NAME depending on type of name resolution used on the Web server (IP address, host header). The name returned is from the name in the request.

Value

requestservervariables.com

Examples

localhost:64490 or www.website.com

Common Tasks

Get name of website
Get address for website
         << Back