Articles in this section

How to enable IPv6 addresses on a Plesk server?

kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux

Question

How to enable IPv6 addresses on a Plesk server?

Answer

Note: Applying this configuration requires administrative access. Consider contacting the Plesk administrator in case it is required.

To enable IPv6 addresses support on Plesk Server

  1. Log in to the server via SSH

  2. Create the following file /etc/sysctl.d/ipv6.conf:

    # touch /etc/sysctl.d/ipv6.conf

  3. Add the following lines into /etc/sysctl.d/ipv6.conf :

    CONFIG_TEXT: net.ipv6.conf.all.disable_ipv6=0
    net.ipv6.conf.default.disable_ipv6=0

  4. Apply the settings from the /etc/sysctl.d/ipv6.conf via the following command:

    # sysctl -w net.ipv6.conf.default.disable_ipv6=0
    # sysctl -w net.ipv6.conf.all.disable_ipv6=0

  5. Add required IPv6 addresses in Plesk UI via Tools & Settings > IP Addresses .

  6. To enable IPv6 for Plesk UI itself create a configuration file /etc/sw-cp-server/conf.d/ipv6_ports.inc and fill it with below content:

    CONFIG_TEXT: listen  [::]:8443 ipv6only=on ssl;
    listen  [::]:8880 ipv6only=on;

  7. Restart Plesk service:

    # service sw-cp-server restart

To disable IPv6 support follow the article How to disable IPv6 addresses on a Plesk server

Was this article helpful?

Comments

3 comments
Date Votes
  • Hello


    Iḿ using obsidian 18.0.53 under Ubuntu 20.04.6 LTS

    The files that mention on this tutorial does not appear on /etc/sysctl.d/ folder


    Also I'm looking a tutorial about Plesk automatic assignement of IPV6 ranges.


    Have you a updated tutorial.


    Thanks

    0
  • As per this changelog which support pointed me to, you can make IPv6 added by default just as IPv4, with this in panel.ini:

    [domainManagement]
    settings.autoSelectIpv6 = on

     

    0
  • i do that but , i dont a resolut my problème accès with a ipv6 to the websites !

     

    0

Please sign in to leave a comment.