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
</Directory>

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
pr0fess0r
 
Posts: 7
Joined: Mon Feb 02, 2009 6:41 pm

Previous

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 1 guest

cron