You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Grzegorz Jankowski <Gr...@prosoft.com.pl> on 2005/08/07 10:09:30 UTC

Re[2]: [users@httpd] virtual servers problem

Witam Sean,


All I need to change was a change from

<VirtualHost New_Public_IP>

to

<VirtualHost 192.168.x.y>

THANKS A LOT!!!

Sunday, August 7, 2005, 12:54:55 AM, napisano:

SC> It was thus said that the Great Grzegorz Jankowski once stated:

>> I thaught that I understand TCP/IP but I do not know what's wrong - 
>> all the virtuals stoped working at all. Only the main content ( pointed
>> by "DocumentRoot" in srm.conf ) can be accesed. All the virtuals ( DNS is 
>> changed of course for all the virtuals, I tested as a CNAME and A records)
>> display only the main content - no mater what I type - only one site 
>> content occures.

SC>   Did you change the NameVirtualHost directive to have the IP address of
SC> your webserver (192.168.x.y)?  Also, how are your VirtualHosts defined? 
SC> Like:

SC>         <VirtualHost www.2.mysite.pl>

SC> or

SC>         <VirtualHost A.B.C.D>   (where A.B.C.D is an IP address)

SC>   The easiest thing is to change the VirtualHost directive to

SC>         <VirtualHost 192.168.x.y>

SC>   And see if that works.

SC>   -spc


--

Grzegorz J. Jankowski



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org