Website not working in Apache

Question: How do I browse my website from Apache Web Server?

Solution:
Normally you can not browse website from Apache if SeLinux is enabled on Linux machine. SeLinux should be disabled for Red Hat Enterprise Edition and Centos Linux flavors. Following are the steps to disable it:

Steps to disable SeLinux:
(For Red Hat Enterprise Linux, CentOS only)

To check SeLinux status, run following command: 
cd /etc/selinux
cat config

To disable SeLinux, set the following option at this path /etc/selinux/config:
SELINUX=disabled

This will turn off SeLinux, reboot your machine to save changes. 

 

Add Feedback