• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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