Articles in this section

Site on Plesk shows Apache default page: no index file

Plesk for Linux kb: technical ABT: Group A

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

  1. 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.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.