Overview
This article provides the path if you would like to change the default pages that Plesk serves before any files are copied to a newly added domain's folders.
Requirements
Before you start, this article has the following dependencies:
- You must have SSH access set up for root or a sudo user.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is unsupported by (mt) Media Temple. Please take a moment to review the Statement of Support.
File locations
Default placeholders
Default placeholder (index.html
) page is taken from the default skeleton. You can find it in directory /var/www/vhosts/.skel/0/httpdocs/
.
The default placeholder page for secure documents is localed in directory /var/www/vhosts/.skel/0/httpsdocs/
.
Just replace the images and index.html with your own default files. All new domains added to Plesk will use these new files as their default site content.
You may safely replace file index.html. Please remember to fix the file permissions. You may do that with commands chown
, chmod
:
~# chown root:root /var/www/vhosts/.skel/0/httpdocs/index.html
~# chmod 644 /var/www/vhosts/.skel/0/httpdocs/index.html