shortandsharp
asked on
Cannot access domain name but can access server through ip
My apache server is running well. All of a sudden, the following happens
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
I have check Virtual Host in /etc/httpd/conf/httpd.conf and etc/hosts
May I know what's wrong?
thanks
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
I have check Virtual Host in /etc/httpd/conf/httpd.conf
May I know what's wrong?
thanks
ASKER
When I restart the apache server now, every thing is okay no error log, but my domain name is still not working! I wonder why all of a sudden this happen?
Do you have a web browser on the server?
If so, try connecting to http://localhost
If that works, try connecting to http://hostname (while still on the server)
If so, try connecting to http://localhost
If that works, try connecting to http://hostname (while still on the server)
ASKER
What does the "hostname" command return? it return abc.com without the www. thanks a lot.
on the server, what happens if you ping abc.com?
> When I restart the apache server now, every thing is okay no error log, but my domain name is still not working!
Do you have internal DNS or your domain name is registered somewhere else?
Who owns a DNS server for your domain name?
Do you have internal DNS or your domain name is registered somewhere else?
Who owns a DNS server for your domain name?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you have a router on? Have you reset it and left dhcp auto by mistake? Happened to me before
ASKER
okay this is resolved as I found out that it is my dns server that is down.
thanks a lot!
thanks a lot!
shortandsharp, ahoffman was first who clearly said that's a DNS problem.
What does the "hostname" command return?
Does this match ServerName in httpd.conf?