All you need is to specify what interface which IP address will be receiving
the requests for the virtual hosts:
NameVirtualHost 12.34.56.78
And then set about configuring all the virtual hosts:
<VirtualHost 12.34.56.78>
ServerName www.virtual.com
DocumentRoot /home/httpd/virtual.com/web/root
<Directory /home/httpd/virtual.com/web/root>
AllowOverride None
</Directory>
</VirtualHost>
And then make sure www.virtual.com exists in your DNS
Wrote George:
> Hi all,
>
> Apache Documents say that I must supply 2 IP addresses for 2 virtual hosts.
> I can't believe this is true is it.. It's under
> <VirtualHosts></VirtualHosts>
> Is this the right section to put the domains in?
>
> mean while, I'll keep looking.. but need help quick..
>
> thanks,
> George.
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
--
Cantanker /
---------/----------------
/ [EMAIL PROTECTED]
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text