Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #156922

Re: Too many system names

From Jochen Spieker <ml@well-adjusted.de>
Newsgroups linux.debian.user
Subject Re: Too many system names
Date 2015-08-27 22:40 +0200
Message-ID <q2c7N-6Tu-21@gated-at.bofh.it> (permalink)
References <q1seC-7G4-15@gated-at.bofh.it> <q1tNo-1Gf-21@gated-at.bofh.it> <q2b24-5mX-43@gated-at.bofh.it> <q2bY7-6If-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Jochen Spieker:
> David Wright:
>> Quoting Jochen Spieker (ml@well-adjusted.de):
>> 
>>> Using an IP address as ServerName is odd. You have to use the hostname
>>> that you want to use in URLs here.
>> 
>> The latter seems odd, seeing as the first thing you would normally do
>> with a hostname is look it up and turn it into an IP address.
> 
> Yes, but most people are better at remembering names than IP addresses
> and the lookup is performed automatically whenever you use it.

BTW, the real reason that ServerName is usually a hostname instead of an
IP address is that with HTTP/1.1 you can host multiple domains using
only one IP address. Browsers not only resolve the hostname to an IP
address and connect to that, they also tell the webserver which hostname
they want to talk to and the webserver can serve different content
depending on that hostname.

Apache calls that "name-based virtual hosting":
http://httpd.apache.org/docs/2.4/vhosts/name-based.html

J.
-- 
Every day in every way I am getting better and better.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Too many system names Gary Roach <gary719_list1@verizon.net> - 2015-08-25 21:40 +0200
  Re: Too many system names Jochen Spieker <ml@well-adjusted.de> - 2015-08-25 23:20 +0200
    Re: Too many system names David Wright <deblis@lionunicorn.co.uk> - 2015-08-27 21:30 +0200
      Re: Too many system names Jochen Spieker <ml@well-adjusted.de> - 2015-08-27 22:30 +0200
        Re: Too many system names Jochen Spieker <ml@well-adjusted.de> - 2015-08-27 22:40 +0200
          Re: Too many system names Gary Roach <gary719_list1@verizon.net> - 2015-08-28 01:10 +0200
            Re: Too many system names Jörg-Volker Peetz <jvpeetz@web.de> - 2015-08-28 15:30 +0200
              Re: Too many system names Gary Roach <gary719_list1@verizon.net> - 2015-08-28 16:50 +0200
                Re: Too many system names Jörg-Volker Peetz <jvpeetz@web.de> - 2015-08-28 17:50 +0200
                Re: Too many system names Jochen Spieker <ml@well-adjusted.de> - 2015-08-28 23:20 +0200
            Re: Too many system names Jochen Spieker <ml@well-adjusted.de> - 2015-08-30 22:30 +0200
              Re: Too many system names Jochen Spieker <ml@well-adjusted.de> - 2015-08-30 22:30 +0200
        Re: Too many system names David Wright <deblis@lionunicorn.co.uk> - 2015-08-30 06:40 +0200

csiph-web