Mailing List Archive

what's difference between HTTP_HOST and SERVER_NAME
Hello

For HTTP headers, what's difference between HTTP_HOST and SERVER_NAME?

I was long time confused about them.

Thanks.
Re: what's difference between HTTP_HOST and SERVER_NAME [ In reply to ]
This is for PHP but it still applies.

https://www.geeksforgeeks.org/what-is-the-difference-between-http_host-and-server_name-in-php/

On Wed, Jan 8, 2020 at 8:39 PM Wesley Peng <wesley@magenta.de> wrote:

> Hello
>
> For HTTP headers, what's difference between HTTP_HOST and SERVER_NAME?
>
> I was long time confused about them.
>
> Thanks.
>
Re: what's difference between HTTP_HOST and SERVER_NAME [ In reply to ]
Hi

on 2020/1/9 14:14, Mithun Bhattacharya wrote:
> This is for PHP but it still applies.
>
> https://www.geeksforgeeks.org/what-is-the-difference-between-http_host-and-server_name-in-php/

This is good reference. Thanks.