Forum Moderators: phranque

Message Too Old, No Replies

Apache Domain Name doesn't resolve to IP

sos

         

nosliw

9:00 pm on Jan 5, 2005 (gmt 0)



Hi guys, I'm using Apache 2.0 now.
I've set up apache for 3 of my domains. Each domain has its own virtual IP address. Everything works perfect at first, but right now... All of a sudden, one domain does not resolve to IP address anymore, i couldn't access it by going [domain2.com,...] ping, nslookup does not work either.
The rest of the domains works fine, and they all have the same apache configuration settings.

I'm confused, and have been trying to find out why this is happening, and how to get my site back online.
Please help.

The following is my httpd.conf

<VirtualHost 70.85.8.43:80>
ServerName www.domain1.com
ServerAlias domain1.com
ServerAdmin webmaster@domain1.com

HostnameLookups Off

DocumentRoot /home/virtual/www.domain1.com/html
CustomLog logs/www.domain1.com combined
ErrorDocument 403 [domain1.com...]
ErrorDocument 404 [domain1.com...]
</VirtualHost>

<VirtualHost 70.85.8.43:80>
ServerName www.domain2.com
ServerAlias domain2.com
ServerAdmin webmaster@domain2.com

HostnameLookups Off

DocumentRoot /home/virtual/www.domain2.com/html
CustomLog logs/www.domain2.com combined
ErrorDocument 403 [domain2.com...]
ErrorDocument 404 [domain2.com...]
</VirtualHost>

<VirtualHost 70.85.8.43:80>
ServerName www.domain3.com
ServerAlias domain3.com
ServerAdmin webmaster@domain3.com

HostnameLookups Off

DocumentRoot /home/virtual/www.domain3.com/html
CustomLog logs/www.domain3.com combined
ErrorDocument 403 [domain3.com...]
ErrorDocument 404 [domain3.com...]
</VirtualHost>

Thanks,
Nos.

py9jmas

9:39 pm on Jan 5, 2005 (gmt 0)

10+ Year Member



one domain does not resolve to IP address anymore

In which case this has nothing to do with Apache and everything to do with your DNS set up. Check with your registrar, make sure you have the correct DNS servers listed and check those DNS servers are running and properly configured.