• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Multi domain Site Rewrite Problem.

keff

Basic Pleskian
Hello,

my system is Debian ver. 6 and Plesk 11.0.9. Problem is:
there is a domain.com and wildcard added as *.domain.com. I have couple aliases:
domain.fr
domain.es
domain.de
domain.ru

In /var/www/vhosts/domain.com/conf/vhost.conf I've added:

Code:
ServerAlias *.domain.fr
ServerAlias *.domain.es
ServerAlias *.domain.de
ServerAlias *.domain.ru

Wildcard *.domain.com redirected to folder where is .htaccess witch code:

Code:
RewriteRule ^(.*)$ http://www.domain.com [R=301,L]

The problem is:

all *.domain.com are redirected to www.domain.com

how to make the same with the aliases of the domain.com. For example:

Code:
*.domain.ru redirected to www.domain.ru

Since yesterday nothing change, but I've read about - that problem exist. So I was wondering about different point of view.

Please tell me it is possible to make account in plesk, witch can retrieve mails for couple domains not set as an alias of main domain?
 
Last edited:
Back
Top