[NTLUG:Discuss] Virtual Hosting on Apache
Stephen Davidson
gorky at freenet.carleton.ca
Sat Mar 23 15:56:19 CST 2002
David Stanaway wrote:
> ----- Original Message -----
> From: Stephen Davidson <gorky at freenet.carleton.ca>
> To: NTLUG <discuss at ntlug.org>
> Sent: Saturday, March 23, 2002 3:36 PM
> Subject: [NTLUG:Discuss] Virtual Hosting on Apache
>
>
>
>>Greetings.
>>
>>I am trying to set up two domains on an Apache Webserver, but I am doing
>>
> something wrong.
>
>>Neither domain is available.
>>
>>Where do I need to look? I can send/post the Apache configuration file if
>>
> it would help.
>
> Do you have a line:
> NameVirtualHost
>
> with the IP address of your webserver?
>
> A good place for that is above the VirtualHost entries in httpd.conf
>
>
> --
> David Stanaway
>
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
>
Oh. So the following would not work.
#NameVirtualHost *
NameVirtualHost rexelusa.com
NameVirtualHost rexeldeals.com
I should instead try;
#NameVirtualHost *
NameVirtualHost mydomain1.com 10.10.1.1
NameVirtualHost mydomain2.com 10.10.1.1
??
Regards,
Steve
--
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208
More information about the Discuss
mailing list