• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

'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