notrick
By:
notrick

Site Giving 403 Error on Apache After Restart

January 29, 2018 240 views
Apache CentOS

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

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.

Have another answer? Share your knowledge.