• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question Default Document Root

Hatchman

New Pleskian
The default document is established upon setup of Plesk (../default/htdocs/). I am referring to the page that appears when you go to a web address pointed to the server but not setup as a domain in plesk. I would like to change this which I have researched and found server.php and the related config files in the etc/httpd/plesk.confd/ directory. Problem 1 the config files say do not change because files are created automatically by the server. Problem 2 if I change these files php is not running so my code creates a download file instead of running.

Here is what I would like to do. I would like to setup up my default domain inside of plesk. Then have all request not set up in plesk go to this default domain instead of the default document root. Is this possible?
 
Here is what I would like to do. I would like to setup up my default domain inside of plesk. Then have all request not set up in plesk go to this default domain instead of the default document root. Is this possible?
Sorry, but I do not understand why default location of /var/www/vhosts/default/htdocs/index.html is not suitable for you? Why do you need alternative location? Why you can't just change this default page /var/www/vhosts/default/htdocs/index.html?
 
I am not looking to replace the default page. I am looking to insert a default website which runs php and I would prefer to create inside of plesk using the management tools. This website would handle the request and display information based on the domain. Having to setup every domain is not possible for me and the system I am running.
 
Sorry, but I do not understand why default location of /var/www/vhosts/default/htdocs/index.html is not suitable for you? Why do you need alternative location? Why you can't just change this default page /var/www/vhosts/default/htdocs/index.html?
After initial load, when does server.conf get changed?
 
Back
Top