• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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