M
me01
Guest
Now i'm developing a new version of a portal.
For testing, y have a subdomain in main enterprise domain:
portal-name.maindomain.com
Then, y configured in plesk new domain "portal-name.com".
I need to redirect portal-name.domain.com to portal-name.com but internally, then:
From:
/var/www/vhosts/maindomain.com/subdomains/portal-name/httpdocs
To:
/var/www/vhosts/portal-name.com/httpdocs
For the moment, portal-name.com is working in other server and external redirect is not a valid solution.
For doing this, i redefined DocumentRoot in
/var/www/vhosts/maindomain.com/subdomains/portal-name/conf/vhost.conf
Redirects works ok, but don't process PHP Code and show it!!! (creating an Apache Alias have the same behaviour)
Thank you!
Me
For testing, y have a subdomain in main enterprise domain:
portal-name.maindomain.com
Then, y configured in plesk new domain "portal-name.com".
I need to redirect portal-name.domain.com to portal-name.com but internally, then:
From:
/var/www/vhosts/maindomain.com/subdomains/portal-name/httpdocs
To:
/var/www/vhosts/portal-name.com/httpdocs
For the moment, portal-name.com is working in other server and external redirect is not a valid solution.
For doing this, i redefined DocumentRoot in
/var/www/vhosts/maindomain.com/subdomains/portal-name/conf/vhost.conf
Redirects works ok, but don't process PHP Code and show it!!! (creating an Apache Alias have the same behaviour)
Thank you!
Me