S
surfweb
Guest
Hello, I'm a newbie of Plesk forum.
I installed Plesk 8.1.1 in my server and has one virtual domain(Phisical hosting) in the server of RedHat Enterprise4.
It seems to be very easy to create a new domain through control panel but the document directory is determined to
/var/www/vhosts/mydomain.com/httpdocs automatically.
Now I want to have the additional domain like mydomain2.com under mydomain.com and configure the document directory to /var/www/vhosts/mydomain.com/httpdocs/mydomain2/
In this case, http://www.mydomain2.com/index.html must go to /var/www/vhosts/mydomain.com/httpdocs/mydomain2/index.html
then how may I do?
First I could do it by editting below file,
/var/www/vhosts/mydomain2.com/conf/httpd.include
DocumentRoot /var/www/vhosts/mydomain.com/httpdocs/mydomain2
but I knew that Pleask rewrited this file to /var/www/vhosts/mydomain2.com/httpdocs/
for the document directoty.
Any advice would be appreciated.
Thank you.
I installed Plesk 8.1.1 in my server and has one virtual domain(Phisical hosting) in the server of RedHat Enterprise4.
It seems to be very easy to create a new domain through control panel but the document directory is determined to
/var/www/vhosts/mydomain.com/httpdocs automatically.
Now I want to have the additional domain like mydomain2.com under mydomain.com and configure the document directory to /var/www/vhosts/mydomain.com/httpdocs/mydomain2/
In this case, http://www.mydomain2.com/index.html must go to /var/www/vhosts/mydomain.com/httpdocs/mydomain2/index.html
then how may I do?
First I could do it by editting below file,
/var/www/vhosts/mydomain2.com/conf/httpd.include
DocumentRoot /var/www/vhosts/mydomain.com/httpdocs/mydomain2
but I knew that Pleask rewrited this file to /var/www/vhosts/mydomain2.com/httpdocs/
for the document directoty.
Any advice would be appreciated.
Thank you.