Running 2 website off 1 IP address
John Van Ostrand
john-Da48MpWaEp0CzWx7n4ubxQ at public.gmane.org
Thu Sep 7 19:47:27 UTC 2006
On Thu, 2006-09-07 at 15:51 -0400, Jason Carson wrote:
> I am running apache 2 and this is my httpd.conf file but it doesn't seem
> to work.
>
> <VirtualHost *:80>
> DocumentRoot "/var/www/localhost/htdocs/canuckster"
> ServerName canuckster.org
> <Directory "/var/www/localhost/htdocs/canuckster">
> allow from all
> Options +Indexes
> </Directory>
> </VirtualHost>
>
> <VirtualHost *:80>
> DocumentRoot /var/www/localhost/htdocs/mmorpg
> ServerName massivelymultiplayeronlineroleplayinggames.org
> <Directory /var/www/localhost/htdocs/mmorpg>
> allow from all
> Options +Indexes
> </Directory>
> </VirtualHost>
You need a NameVirtualHost *:80 entry above those two.
Also be aware that you need one IP address per SSL service. You don't
seem to have any so you should be okay.
--
John Van Ostrand
Net Direct Inc.
Chief Technology Officer
564 Weber St. N. Unit 12
Waterloo, ON N2L 5C6
map
john-Da48MpWaEp0CzWx7n4ubxQ at public.gmane.org
Ph: 519-883-1172
ext.5102
Linux Solutions / IBM
Hardware
Fx: 519-883-8533
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20060907/94714d2f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20060907/94714d2f/attachment.sig>
More information about the Legacy
mailing list