• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Serveralias problems

C

Coquelicot

Guest
Hi,

I try to add Serveralias to my webserver.

So i've edited the vhost.conf file in home/httpd/vhosts/[mydomain]/conf/

it looks like that :

DocumentRoot /home/httpd/vhosts/luberon-strategie.com/httpdocs
ServerName luberon-strategie.com
ServerAlias *.luberon-strategie.com

<Directory /home/httpd/vhosts/luberon-strategie.com/httpdocs>
Options FollowSymLinks
AllowOverride None
</Directory>

<IfModule mod_php4.c>
php_admin_flag safe_mode Off
php_admin_value register_globals 0
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
Rewriterule ^/var/storage/.* - [L]
Rewriterule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript|flash)/.* - [L]
Rewriterule ^/share/icons/.* - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule .* /index.php
</IfModule>

but only 2 subdomains are redirected :

www.luberon-strategie.com and admin.luberon-strategie.com

for example "http://fr.luberon-strategie.com" redirect to the "default" folder

I don't know what happen, please help
Thanks
 
Back
Top