How to Configure an IPv6 Address on Your VPS
You configure an IPv6 address on your VPS with the details you receive from us: the address, the prefix and the gateway. On Ubuntu you use Netplan, on AlmaLinux nmcli and on Windows Server PowerShell. You order IPv6 addresses individually with your VPS. Tip: connect via the noVNC console before changing the network settings, so you are not locked out in case of a mistake.
Configuring IPv6 on Ubuntu (Netplan)
Look up the Netplan configuration file:
ls /etc/netplan/ Add the IPv6 address and the gateway to your network interface. Pay close attention to the indentation:
network:
ethernets:
eth0:
addresses:
- JOUW-IPV4/PREFIX
- JOUW-IPV6/PREFIX
routes:
- to: "::/0"
via: "IPV6-GATEWAY" Test the configuration. If something goes wrong, the old setting is restored automatically after 120 seconds:
netplan try Configuring IPv6 on AlmaLinux (nmcli)
nmcli connection show
nmcli connection modify eth0 ipv6.method manual +ipv6.addresses JOUW-IPV6/PREFIX ipv6.gateway IPV6-GATEWAY
nmcli connection up eth0 Replace eth0 with the name of your connection from the first command.
Configuring IPv6 on Windows Server
Open PowerShell as administrator. Replace PREFIX with the prefix length you received from us:
Get-NetAdapter
New-NetIPAddress -InterfaceAlias Ethernet -IPAddress JOUW-IPV6 -PrefixLength PREFIX -DefaultGateway IPV6-GATEWAY Test the connection
ping -6 google.com Link the address to your domain
If you want your website or mail server to be reachable via IPv6, add an AAAA record to your domain and set the PTR record . Read more about DNS records.
Related articles
Rent a VPS with full root access
Choose an NVMe VPS for maximum storage performance, or a Linux or Windows VPS with high availability. All servers are located in a TIER III data centre in Amsterdam.