Applicable to:
- Plesk for Linux
Symptoms
-
The site shows Apache default page
The following error appears when opening a website:
CONFIG_TEXT: 403 Forbidden by nginx
-
The output of the following command is empty:
# ls -l /var/www/vhosts/example.com/httpdocs/ | grep index
Cause
There is no index file in the Document Root of the domain, or the expected file has a typo in the name.
Resolution
-
Go to Domains > example.com > Dashboard tab > Files and check if there is an index file of the website.
-
Create index file in the document root directory with required content or specify custom index file under Domains > example.com > Hosting & DNS > Apache & nginx > Common Apache settings > Index files for the existing one to be recognized.
Alternatively, specify the document root under Domains > example.com > Hosting & DNS > Hosting to point to the directory that contains the index file.
Comments
0 comments
Please sign in to leave a comment.