Question

Just installed the Centos 7 and installed/run the apache, I checked it's running but I cannot see the initial webpage of it on my webroswer

I followed the initial server setup and then LAMP step by step guide. after I ran the apache service, I was trying to connect it on my chrome by typing server’s ip but i can’t see the initial webpage but the “page cannot display”

Ping command is responsible. what else can I do for it?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I’m not familiar with CentOS, but I think the firewall is enabled by default, so you need to allow port 80 and maybe port 443 - if that’s your default ports in Apache. Edit - sorry, forgot the link: https://wiki.centos.org/HowTos/Network/IPTables

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.