[NTLUG:Discuss] Apache question

brian at pongonova.net brian at pongonova.net
Fri Jul 4 09:23:45 CDT 2008


On Tue, Jul 01, 2008 at 09:35:26AM -0700, Fred wrote:
> I am having trouble understanding as I RTFM on Apache.
> I am trying to serve 2 webpages from the Apache box,
> one to port 80 and the other on port 8080. That is where
> the confusion sets in... it seems that all the howtos say
> multiple addresses, multiple domains or single address, 
> multiple domains. Nothing about multiple domains and 
> single IP address with multiple ports.

You want an IP-based virtual host:

http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost
http://httpd.apache.org/docs/2.0/vhosts/examples.html

(Scroll down in the 2nd link to "Running different sites on different
ports")

  --Brian




More information about the Discuss mailing list