• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

How to change default document root for apache

Gopihere

New Pleskian
Hi,

Im planning to migrate some domains from one plesk server to another. In first plesk server, all the domains are located in "/home/vhosts/domain.com". On the new server which I built today, I can see website files are going to the default location "/var/www/vhosts/domain.com"

How can I change the Apache document root server wide (in the new server), so that all the new domains which I would create in future should also take "/home/vhosts" as the path (same as first server).

Thanks,
GKG
 
Look at transvhosts.pl utility:

# plesk bin transvhosts.pl --help
 
Hey..Thanks mate..by the way, I would like to know whether plesk migration tool has the intelligence to change the document root in such instances where the source and destination server's apache document root is different.
 
It looks like a feature request. Maybe it will be implemented in the next Plesk Migrator versions.
 
Back
Top