We all know that IPv4 addresses are depleting really fast. But still IPv6 adoption is nowhere near it should be. For example IPv6 adoption in mexico is 0.00% as of Google Ipv6 statistics report . Even though the IPv6 adoption among the internet users is low, most Dedicated and Virtual Private Server providers are already offering IPv6 support. But in reality most users don’t know how to configure IPv6 for their web sites and the most widely used hosting control panel “Cpanel” still doesn’t support IPv6. But if you are using Nginx on your server you are lucky because enabling IPv6 , IPv4 dual stack support is really easy.
If you are using the Nginx autoinstaller which is listed on my site, Nginx is already configured to include IPv6 support.
You can verify this by issuing below command
You can see that Nginx is configured to use IPv6 by the arguement “–with-ipv6″ . Now lets proceed to enable IPv6 by editing the nginx.conf file.
Nginx.conf is located in /usr/local/nginx/conf/nginx.conf to edit this issue below command
This will open up the nano editor and find the place where it says
and replace it with
and save it by using Ctrl+O and then exit using Ctrl+X .
Now you are done, We just need to restart or reload the LNMP stack and it will just work.
That’s it. If you have configured AAAA records to point at your server. IPv6 will be working now. You can validate it using http://ipv6-test.com/validate.php
Last 5 posts by Ruchira
- Slotomania Free Slot Games Review - February 24th, 2015
- The Role of Social Media and SEO - October 25th, 2013
- Google announces uProxy to overcome internet censorship - October 22nd, 2013
- Command line bandwidth monitors for Linux - October 21st, 2013
- Problem Kids: When You Know How To Spy On iPhone Remotely, You Worry Less And Focus Better! - August 19th, 2013