How to enable ipv6 on your Debian server ?

First find your ipv6 address :

/etc/network/interfaces

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 :

attrib.org zonefile

Set your Apache config with your ipv4 :

/etc/apache2/ports.conf

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

And your virtual hosts with your ipv6 :

/etc/apache2/sites-enabled/attrib.org

Listen [youripv6]:80


   ServerName attrib.org
   …

Finally test your ipv6 :

http://ipv6-test.com/validate.php