• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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