[Cialug] Virtual hosts in Apache

David Champion dchampion at visionary.com
Fri Jun 1 11:47:07 CDT 2007


David Champion wrote:
> Tim Wilson wrote:
>> I thought I've seen this done, but I can't seem to find it.  I want to run
>> multiple domains, but I want to do it on different ports.  For example,
>> ipaddr.isp.com on port 8080, but foo.com and bar.com and port 80.  Can
>> someone point me in the right direction?
> 
> Of course, replace 127.0.0.1 with your IP...
> 
> <VitualHost 127.0.0.1:8080>
> Servername ipaddr.isp.com
> 
> ...
> 
> <VitualHost 127.0.0.1:80>
> Servername foo.com
> 
> ...
> 
> <VitualHost 127.0.0.1:80>
> Servername bar.com

... and VitualHost with VirtualHost. :/

-dc




More information about the Cialug mailing list