To check if apache serves the default page, point your browser to http://localhost . If you do not have a GUI, you can access your server using curl localhost , which will print the default HTML code for your page on your stdout.
If you are trying to access your server from a remote computer, you should check if a working firewall exists and if port 80 iptables -vnL . If not, open it with iptables -A INPUT -p TCP -m state --state NEW -j ACCEPT
source share