[Cialug] Virtual hosts in Apache
Jeffrey C. Ollie
jeff at ocjtech.us
Fri Jun 1 11:48:33 CDT 2007
On Fri, 2007-06-01 at 11:35 -0500, 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?
Listen 80
Listen 8080
NameVirtualHost *:80
NameVirtualHost *:8080
<VirtualHost *:80>
ServerName ipaddr.isp.com
</VirtualHost>
<VirtualHost *:8080>
ServerName foo.com
</VirtualHost>
<VirtualHost *:8080>
ServerName bar.com
</VirtualHost>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://cialug.org/pipermail/cialug/attachments/20070601/2cef5306/attachment.pgp
More information about the Cialug
mailing list