Add the IPv6 Addresses to your direct admin, through IP Management (This will add IPv6 address to the interface). Enter the IPv6 Address in IP field and keep the Netmask as 255.255.255.0
Add IPv6 address for your name servers, go to DNS administration –> Select your name server domain –> Add AAAA records for your Name Servers. Make sure you have added the IPv6 addresses already to DA.
Check your name server is resolving/reachable via IPv6.
Now to add IPv6 Address to hosted domains, select the domain –> Modify user –> select the IPv6 address in “Add Additional IP”. If the IPv6 address is not visible, make sure it is added to DA and to the reseller account you are editing the domain.
Add the IPv6 address(AAAA) to the corresponding domains DNS configuration.
If the apache virtual host is configured with domain name , eg < VirtualHost arunns.com:80 >, just add AAAA record for arunns.com in dns and the website will work without any extra configurations other than the previous two lines.
Also we can specifically configure it :
< VirtualHost ipv4_address:80 ipv6_address:80 >
It is possible to have different contents for ipv4 and ipv6 sites, just create two different virtual hosts with different document root one for IPv4 and other for IPv6.
< VirtualHost ipv4_address:80 >
< /VirtualHost >
< VirtualHost ipv6_address:80 >
< /VirtualHost >
If you are behind a natd network specify your machine private address as host_ip, otherwise mention the current public ip assigned to your machine. If you are behind a nat’d network make sure that protocol 41 is allowed in the nat’d device.
eg: $ sudo ifconfig gif0 tunnel 192.168.1.2 216.66.xxx.xxx
Configure the IPv6 address: edit /etc/sysconfig/network-scripts/ifcfg-eth0 (or bond0 for bond interfaces, ipv6 works as expected with bond interface as well)
Just restart network and you will be able to see the IPv6 address.
Incase if the ipv6 module doesnt exist in kernel, just do a modprobe: # modprobe -a ipv6
Almost all softwares in linux works with IPv6,
For apache add the listen address to ipv6 address and enable name virtual host for ipv6 address if required.
You can test your ipv6 connectivity by: $ ping6 ipv6.google.com