Question

Site Giving 403 Error on Apache After Restart

Posted January 29, 2018 1.1k views
CentOSApache

So everything was working fine untill I rebooted the server. The server was configured by someone else so I don’t have much idea about it.
All my files of website is under the folder /home/sitename/public_html
and there are no files in var/www/html
All I get, when I access the site, is a 403 error. Previously I was getting apache test page. So I commented all the line sin welcome.conf file. Now I am getting 403 Error

Can someone please help!!!

1 comment
  • Also, there is nothing in the sites-available folder and sites-enabled folder which is related to my site. So I am kinda worried. What shuld I do

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.

×
1 answer

Can you share what is located in your sites-enabled folder? This should be the location of all of your web server’s site specific configuration. If for some reason your configuration is not present we can assist in offering edits you can make to bring your site back online in the folder where it is located. Also let us know if this is a static site, PHP site or using another framework or language.

Submit an Answer