Question: Site on Plesk shows Apache default page: no index file
Applicable to:Symptoms- The site shows Apache default page
The following error appears when opening a website:
403 Forbidden by nginx- The output of the following command is empty:
ls -l /var/www/vhosts/example.com/httpdocs/ | grep index
CauseThere is no index file in the Document Root of the domain, or the expected file has a typo in the name.
Resolution1.Log in to Plesk.
2.Go to
Domains > example.com > Dashboard tab
> Files and check if there is an index file of the website.
3.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.