Link to home
Start Free TrialLog in
Avatar of Starquest321
Starquest321

asked on

CentOS Installation

http://www.tecmint.com/install-apache-mysql-php-on-redhat-centos-fedora/

I have followed the steps above to install for a Cent OS 6.4
All seems to be working except that my test page is not loading. Is there a firewall issue?
Avatar of sivagnanam chandrakanth
sivagnanam chandrakanth
Flag of India image

Have you added virtual host in apache for your application/folder..
Avatar of Starquest321
Starquest321

ASKER

how do I do that? A little new at it
SOLUTION
Avatar of sivagnanam chandrakanth
sivagnanam chandrakanth
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have updated the file as per your suggestion - but still no change. .
image.png
Avatar of Gerwin Jansen
What error do you get and from where are you trying to load the test page? From the CentOS server or from an other location?
#sestatus
enforcing

#ls -lZ /var/www/html

then

#cd /var/www/html
#restorecon -R index.html <whatever is the document you used as index page>

Its SE-Linux mode which is not executing the file with different context

#ls -lZ /var/www/html
Make sure you did the following

1) Restart Apache after making the changes (/etc/init.d/httpd restart)
2) make sure the file you are hitting is placed under /var/www/html
3) if you are hitting the server from other machine...put a host entry with ip and domain name

Example:

For Linux : edit /etc/hosts file and add below line

192.**.**.**(Your ip) test.nadian-investments.com

For windows edit C://windows/system32/drivers/etc/hosts file and add

192.**.**.**(Your ip) test.nadian-investments.com

This is added if your domain is invalid..

Also check /var/log/httpd/test.error_log for more details
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial