Why is IPV6 not working

tristan asked:

I have ipv6.domain.tld set up and pointing to my server’s IPV6 address. I have added my server’s IPV6 address through Webmin. When I restart Apache, I get

Restarting web server: apache2[Mon Jul 16 02:51:57 2012] [error] (EAI 2)Name or service not known: Failed to resolve server name for 2607:5300:20:101::1:1023 (check DNS) -- or specify an explicit ServerName
 ... waiting [Mon Jul 16 02:51:58 2012] [error] (EAI 2)Name or service not known: Failed to resolve server name for 2607:5300:20:101::1:1023 (check DNS) -- or specify an explicit ServerName
.

When I try to visit ipv6.domain.tld, I just get a domain down page. What is wrong with it?

My answer:


Each VirtualHost in which you’ve used the IPv6 address requires a ServerName to be set. If you aren’t using VirtualHost then you need to set the global ServerName.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.