• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

'Index of /' shown for my sites

Richard123

New Pleskian
Hi,

I have a new installation of Plesk 12 on CentOS 7.1 on MS Azure Cloud Service.

I've checked the IP Adddress is added for both internal network and web resolved IP for the server.
For the domains I've tried both the internal network and web IP.

I've checked about .htaccess and tried creating a new domain and test.

In all cases when going to a website URL, I'm getting served up the following page:

Index of /
404.shtml
cgi-bin/
phpinfo.php
robots.txt


Can anyone offer any suggestions for remedy?


With Thanks,

Richard
 
You have no index.html file inside website document root directory. Try to create it at least.
 
Hi Igor: I checked that and the index.html is present.
Hi Ruslan: It's using the default virtual host template which gets copied to the newly created domain/site file area. However I think what is being shown is the apache default page, not the page shown from the virtual host template.
 
It's not looking like apache default page too - on clean httpd package install content of /var/www/html/ is empty. Most probably your requests passed to another location or another machine.
Try to run
# tcpdump -Av -s0 port 80
and access the IP/host in browser - check that the request comes to the machine.
 
Back
Top