1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ServerAlias for ipv6 hostname

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by GeraldV, Jun 22, 2011.

  1. GeraldV

    GeraldV New Pleskian

    19
    85%
    Joined:
    Mar 19, 2010
    Messages:
    14
    Likes Received:
    0
    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
     
  2. Sergey L

    Sergey L Golden Pleskian Staff Member

    32
    43%
    Joined:
    Aug 10, 2006
    Messages:
    1,195
    Likes Received:
    30
    Thank you Gerald,
    This is a recently discovered problem, we'll have to deliver improvement for that.
     
  3. GeraldV

    GeraldV New Pleskian

    19
    85%
    Joined:
    Mar 19, 2010
    Messages:
    14
    Likes Received:
    0
    Is there any workaround except editing vhost.conf? How does Plesk determine the list of ServerAlias entries?
     
  4. Sergey L

    Sergey L Golden Pleskian Staff Member

    32
    43%
    Joined:
    Aug 10, 2006
    Messages:
    1,195
    Likes Received:
    30
    I believe the vhost.conf or modification of web config templates would be the only workaround for now
    You can find more details in Advanced Admin Guide

    Regards
     
Loading...