• 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

ServerAlias gets added to primary domain and subdomain?

HostaHost

Regular Pleskian
We have a site that is domain "domain.com" and which has a subdomain defined, "uk.subdomain.com".

We have added an alias domain "domain.co.uk" to ONLY the primary. The primary is also the default site for the IP address that it resides on.

What Plesk ends up doing is adding:

ServerAlias "www.domain.co.uk"
ServerAlias "domain.co.uk"

to the httpd.include file of both the primary site AND the subdomain, and the incoming request must hit the subdomain in apache's memory first, because visitors are incorrectly given the subdomain instead of the intended alias to the primary.

This is a Plesk 10.4.4 all updates applied. Can anyone else confirm this bug before I waste a support ticket? I reproduced it on a second site.
 
Hi Hostasaurus.Com,

I've tried to repeat this on Plesk 10.4.4 and figure out that Plesk puts correct ServerAliases to vhosts' httpd.conf includes.

Primary domain:
oro.ppu104demo.com

Secondary domain:
zzz.oro.ppu104demo.com

Another primary domain:
sub.oro.ppu104demo.com

Domain alias:
aaa.com.tw

As you can see from below, ServerAlisases are correct: aaa.com.tw and zzz.aaa.com.tw

In your case ServerAliases should be: domain.co.uk and uk.subdomain.domain.co.uk

root@ppu10-4:~# grep ServerAlias /var/www/vhosts/oro.ppu104demo.com/conf/13474396310.03098000_httpd.include
ServerAlias "www.oro.ppu104demo.com"
ServerAlias "ipv4.oro.ppu104demo.com"
ServerAlias "aaa.com.tw"
ServerAlias "www.aaa.com.tw"
ServerAlias "ipv4.aaa.com.tw"

root@ppu10-4:~# grep ServerA /var/www/vhosts/zzz.oro.ppu104demo.com/conf/13474396310.03098000_httpd.include
ServerAlias "www.zzz.oro.ppu104demo.com"
ServerAlias "ipv4.zzz.oro.ppu104demo.com"
ServerAlias "zzz.aaa.com.tw"
ServerAlias "www.zzz.aaa.com.tw"
ServerAlias "ipv4.zzz.aaa.com.tw"


root@ppu10-4:~# grep ServerA /var/www/vhosts/sub.oro.ppu104demo.com/conf/13474430460.58489100_httpd.include
ServerAlias "www.sub.oro.ppu104demo.com"
ServerAlias "ipv4.sub.oro.ppu104demo.com"
 
Back
Top