• 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

ServerAlias for ipv6 hostname

GeraldV

New Pleskian
I am using Plesk 10.2 and set it up for the IPv6 address I have got recently. It works nicely except for one thing:

Plesk adds a host name ipv6 to the DNS settings for each domain. However, the ipv6 host name never appears as ServerAlias in the vhost config for that domain, thus the ipv6 host name only goes into the default server.

For example: Plesk creates records for example.com:

example.com. A <ipv4 address>
example.com. AAAA <ipv6 address>
www.example.com. CNAME example.com.
ipv6.example.com. AAAA <ipv6 address>

I can access the web site from http://example.com/ and http://www.example.com/ but not from http://ipv6.example.com/ The latter goes to the default server because the generated VirtualHost configuration for example.com only contains "example.com" as servername and "www.example.com" as serveralias but not "ipv6.example.com".

I think Plesk should set up ipv6 as ServerAlias if an IPv6 address is configured on a domain.

Or is there another way to make Plesk add ServerAlias entries which I have missed?

Thanks,

Gerald
 
Thank you Gerald,
This is a recently discovered problem, we'll have to deliver improvement for that.
 
Is there any workaround except editing vhost.conf? How does Plesk determine the list of ServerAlias entries?
 
Back
Top