Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm having the following situation:

My domain have the DNS settings working properly and it is "pingable" from outside the network, the problem is when I try to open it using a browser, nothing shows up.

Using FireFox, it shows: - Connecting - Connected but nothing shows in the page and after a few seconds, I get an error with the message:

"The connection was reset"

Someone have any clue of what did I do wrong?

One more thing: I can't open the website using the IP as well. Same error.

I'm using CentOS 5.7, Apache 2.2.3 and Bind 9.3.6

The webmin is working properly, so I guess is something with Apache and/or files permission in the system.

The ServerRoot option is set to the default /var/www/html and the domain is an VirtualHost listening. Both listening on port 80.

I really appreciate any help!

share|improve this question

migrated from stackoverflow.com Sep 29 '11 at 10:59

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Check the following.
1. On your server

ps -ef | grep httpd

Do you found your Apache running?

2.On your own computer

telnet xxx 80

Where xxx is the domain and 80 is the port for apache.
If it can't successfully connected.
On your server(root)

/etc/init.d/iptables stop

If still does't work, please add comments to my answer, thanks.

share|improve this answer
Thanks for your answer! Yes, httpd is running properly in the system. I tried turn off iptables but still the same. –  Derick Sep 29 '11 at 10:19
If I turn off Apache, the browser shows "Unable to connect", instead of "The Connection was reset". I also tried stopping Apache and installed nginx, but same sittuation. –  Derick Sep 29 '11 at 10:21
OK, plase try telnet localhost 80 on your server, does it work? I mean can you successfully connect to local port 80? –  Coder4 Sep 30 '11 at 3:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.