I'm trying to get my website working with ipv6, however failing miserably for the past couple of days tinkering. I've setup a page here to test
http://www.iwader.co.uk/ip.php
I have got apache listening on ipv6 and can be accessed through
http://[2002:b24f:a6c3:1000::1]/ successfully viewing the apache default page.
However when it comes viewing my domain, its only then accessed over ipv4, even though the relevant AAAA records are present on an nslookup.
My VirtualHost is listening on *:80. However the fact apache itself seems to be accessible via. ipv6, it leads me to believe this is a problem with my VirtualHost.
Heres the output of the nslookup:
Code:
C:\Users\Wade>nslookup
Default Server: disco.gogo6.com
Address: 2001:5c0:1000:
> set q=AAAA
> www.iwader.co.uk
Server: disco.gogo6.com
Address: 2001:5c0:1000:
Non-authoritative answer:
Name: www.iwader.co.uk
Address: 2002:b24f:a6c3:1000::1
I then have a VirtualHost for both IPv6 and IPv4 after defining both NameVirtualHost in the apache ports.conf.
Code:
NameVirtualHost 178.79.166.195
NameVirtualHost [2002:b24f:a6c3:1000::1]
Listen 178.79.166.195:80
Listen [2002:b24f:a6c3:1000::1]:80
Code:
<VirtualHost 178.79.166.195>
DocumentRoot /var/www/iwader.co.uk/web
ServerName iwader.co.uk
ServerAlias *.iwader.co.uk
ServerAdmin webmaster@iwader.co.uk
Code:
<VirtualHost [2002:b24f:a6c3:1000::1]>
DocumentRoot /var/www/iwader.co.uk/web
ServerName iwader.co.uk
ServerAlias *.iwader.co.uk
ServerAdmin webmaster@iwader.co.uk