Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

How do I change virtual hosts location in Parallels Plesk Panel for Unix?

Article ID: 1165 
Last Review: Apr,22 2009
Author: system
Last updated by: Daria Taranova APPLIES TO:
  • Plesk 7.5.x Reloaded

Resolution

For Parallels Plesk Panel (hereafter Plesk) version v8.0 and above see the article #1186

Plesk takes all storage paths from /etc/psa/psa.conf file, for virtual hosts location it would be:

~# grep VHOST /etc/psa/psa.conf
HTTPD_VHOSTS_D /var/www/vhosts

Make the following steps to change VHosts location:

1) Stop Plesk and all services.

2) Change HTTPD_VHOSTS_D in psa.conf, for example /var/www/vhosts -> /home/httpd/vhosts.

Note:
new directory name should not contain slash at the end: /home/httpd/vhosts.
The slash will cause problems with hosting configuration.

3) Move vhosts to new location, for example /var/www/vhosts to /home/httpd/vhosts.

4) Create symlink:

~# ln -s /home/httpd/vhosts /var/www/vhosts

It is needed because all current system users still have home directory set to old location. Secondly, old paths still remain in Frontpage configuration files and in some scripts, until they are reconfigured.

4) Start MySQL server.

5) Reconfigure Apache configuration with new path:

~# /usr/local/psa/admin/sbin/websrvmng -a -v

6) Start all other services.


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products