[PLUG] Browsers, Numeric IPs, and apache Virtual Hosts

Paul Heinlein heinlein at madboa.com
Fri May 4 00:18:43 UTC 2012


On Thu, 3 May 2012, Keith Lofstrom wrote:

> Apache uses virtual hosts to support many different URLs on
> one machine on one IP address.  When you connect to apache
> with your browser, the browser provides enough information
> to Apache to give you the URL you want.
>
> Question:  If the URL is not in the DNS system, and all you
> have is the IP address (say, 1.2.3.4) and the name of the
> virtual (say, foobar.example.org ), how do you use firefox
> (or other browser) to tell apache at 1.2.3.4 to serve the
> foobar.example.org content, or any of the other specific
> URLs served by virtual hosts on that machine?

/etc/hosts

-- 
Paul Heinlein
heinlein at madboa.com
45°38' N, 122°6' W


More information about the PLUG mailing list