How to enable ipv6 on your Debian server ?

First find your ipv6 address :


Restart your network :

sudo ip addr add youripv6address dev eth0

Your ipv6address may look like to XXXX:XXX:XXX:XXXX::X/XX. Your ipv6 is XXXX:XXX:XXX:XXXX::X.

Add your ipv6 to your domain : zonefile

Set your Apache config with your ipv4 :


NameVirtualHost xx.xx.xx.xx:80
Listen xx.xx.xx.xx:80

And your virtual hosts with your ipv6 :


Listen [youripv6]:80


Finally test your ipv6 :