Pointing and cloaking folders to separate domains

Using a single web hosting account to host multiple sites

Postby pr0fess0r » Thu Feb 12, 2009 3:10 pm

An answer! For anyone trying to do the same thing:

Edited /var/www/vhosts/masterdomain/conf/vhost.conf and added:
Code: Select all
<Directory /var/www/vhosts/masterdomain/httpdocs>
  php_admin_value open_basedir none
  AllowOverride All
  Options +FollowSymLinks

Ran the following commands:
Code: Select all
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=masterdomain
ln -s /var/www/vhosts/workdomain/httpdocs/ /var/www/vhosts/masterdomain/httpdocs/work
Posts: 7
Joined: Mon Feb 02, 2009 6:41 pm


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 4 guests