Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache VHosts -- Subdomains Time Out

Status
Not open for further replies.

kuiqsilver

IS-IT--Management
Jul 20, 2006
5
US
Hello all. I'm trying to set up subdomain for my web site. I've already updated the DNS records, and they seem fine. The problem I'm having is that the request times out when I try to view the subdomain. I can view my main site at but my subdomain times out.

My httpd.conf file has this:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName ServerAlias neonbrainiac.nu
DocumentRoot /var/ </VirtualHost>

<Directory /var/ Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<VirtualHost *:80>
ServerName library.neonbrainiac.nu
ServerAlias library.neonbrainiac.nu
DocumentRoot /var/ </VirtualHost>

<Directory /var/ Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>


I get no error messages in the error log. Nor do I get a record in the access log.

I can't load either page from a remote machine. neonbrainiac.nu works from localhost, but not from a different machine. library.neonbrainiac works from nowhere. But the address does resolve to the correct IP address.
 
I found the problem. My router had reset and was forwarding traffic to the wrong machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top