httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Dippel <>
Subject [users@httpd] Virtual Hosts - main site disappears with vhosts
Date Wed, 24 Sep 2008 07:14:16 GMT
I have been working on this, reading the documentation, googled, but 
haven't found the solution:

I administrate Until now, it is one CMS. In future, we 
want to use more, so I tried vhosts.

This is what I added to hhtpd.conf:

> diff httpd.conf.novirtual httpd.conf                                                
> 974a975,991
>> NameVirtualHost * 
>>     <VirtualHost *>
>>     ServerName
>>     DocumentRoot /var/www/htdocs
>>     </VirtualHost>
>>     <VirtualHost *>
>>     ServerName 
>>     DocumentRoot /var/www/htdocs/2ndfoo
>>     </VirtualHost>
>>     <VirtualHost *>
>>     ServerName
>>     DocumentRoot /var/www/htdocs/anotherfoo
>>     </VirtualHost>

Now, and show up as expected.
But the main site,, is gone. Pointing the browser to it, 
brings me to some Google search site for a strange intsvr:

> $ lynx
> Looking up first
> Looking up
> Making HTTP connection to
> Sending HTTP request.
> HTTP request sent; waiting for response.
> HTTP/1.1 301 Moved Permanently
> 'A'lways allowing from domain ''.
> Data transfer complete
> HTTP/1.1 301 Moved Permanently
> Using http://intsvr/CIP/v3/
> Looking up intsvr
> Unable to locate remote host intsvr.
> Alert!: Unable to connect to remote host.

This looks like some DNS-problem to me. Still, with the original 
httpd.conf all is fine for
How could the DNS come in, after Apache has been contacted, and the 
VirualHost directives serviced?

We are running Apache 1.3.29 on OpenBSD.

Any help with this problem will be highly appreciated, thanks!


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message