Website IPv6

Discussion in 'Developers' Forum' started by SamTzu, Dec 19, 2019.

Tags:
  1. SamTzu

    SamTzu Active Member

    Just noticed that unlike IPv4 address IPv6 address is not automatically chosen. *
    More and more servers do not come with IPv4 address which causes new website to default to Apache default website on /var/www/html/index.html.
    This causes confusion.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The * wildcard in apache includes IPv4 and IPv6 as far as I know, so choosing * in the IPv4 field should be enough for IPv6 as well.
     
    ahrasis likes this.
  3. florian030

    florian030 Well-Known Member HowtoForge Supporter

    if you set ipv4 to * and leave ipv6 empty, the site will listen to ipv4 and ipv6 - on apache and nginx
     
    ahrasis likes this.
  4. SamTzu

    SamTzu Active Member

    Should... but doesn't.
    At least if you have previously defined an IPv6 address.
    You have to use the pulldown menu and choose it first.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    But that's the same as with IPv4, don't mix * and IP addresses in website settings as an IP is a stronger match than a wildcard.
     

Share This Page