• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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