I'm setting up a web site on a new install of RHEL 5.7, and running into a problem getting the website domain to resolve correctly.
The changes I've made to httpd.conf are to uncomment the NameVirtualHost so it's
NameVirtualHost *:80
And uncommented the only VirtualHost entry and changed to read:
<VirtualHost *:80>
ServerAdmin myemail@co.com
DocumentRoot /var/www/html
ServerName mydomain.com
ErrorLog logs/mydomain.com-error_log
CustomLog logs/mydomain.com-access_log common
</VirtualHost>
That's it.
I'm able to ping the server by the domain, but any http requests cause a server timeout error.
Thanks for any help.
lsof -i -P | grep 80) Is there any firewall in front of the device? – Shane Madden Jan 25 at 20:36http://X.X.X.X/) works, but a request to the name, which resolves to that IP, times out? Is the wrong DNS data cached in your OS or browser? If youtelnet example.com 80, does it connect? – Shane Madden Jan 25 at 22:00