httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] virtual hosting not working
Date Mon, 14 Jul 2008 00:33:58 GMT
Mike,

The output looks good.

I can even reach http://www.vidiot.com/ and 
http://www.vidiot.com/TVShows/ from here.

The problem you're most likely experiencing is that www.vidiot.com 
resolves to 75.100.112.198 (your public IP). So a request to that host 
is routed to the external interface of your router, then not re-routed 
properly inside your LAN.

What you need to do is make all the values of ServerName and ServerAlias 
resolve to your local IP, via your local DNS subsystem, or your hosts 
file. Your problem will be resolved then.

Alternately, you could configure your router to add a few routes to 
prevent the request from going out at all.

Frank

Mike Brown wrote:
> On Sun, Jul 13, 2008 at 06:05:39PM -0400, Frank Gingras wrote:
>   
>> Mike,
>>
>> Can you please provide the output from httpd -S? It would give us valuable 
>> information on your issue.
>>     
>
> Here ya go:
>
> mrvideo.ZROOT <48> ../bin/httpd -S
> VirtualHost configuration:
> wildcard NameVirtualHosts and _default_ servers:
> *:80                   is a NameVirtualHost
>          default server www.vidiot.com (/usr/local/apache2/conf/httpd.conf:481)
>          port 80 namevhost www.vidiot.com (/usr/local/apache2/conf/httpd.conf:481)
> Syntax OK
>
> Thanks.
>
> MB
>   


---------------------------------------------------------------------
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


Mime
View raw message