Answer
How to configure global default document settings for newly created domains in Plesk?
Question
-
Connect to the server via RDP.
-
Navigate toÂ
%plesk_vhosts%.skelhttpdocs
-
Create a
web.config
file with the content listed below. Thatweb.config
file will be used to set a default document set, or list of default documents for newly created websites.<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Index.php" />
<add value="Index.html" />
<add value="Index.htm" />
<add value="Index.cfm" />
<add value="Index.shtml" />
<add value="Index.shtm" />
<add value="Index.stm" />
<add value="Index.php3" />
<add value="Index.asp" />
<add value="Index.aspx" />
<add value="Default.htm" />
<add value="Default.asp" />
<add value="Default.aspx" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
Â