Most of the CDN like Cloudflare, SUCURI, AKAMAI let you enable IPv6 from their edge network. However, if you are not using CDN that provides IPv6 and needs to enable your website, then here is how you can do it.
IPv6 has a performance advantage over IPv4. It can help to decrease the page load time from 25ms to 300ms. An interesting report by SUCURI shows 16% of the top 1000 sites in the world support IPv6 and 7% of the top 1 million sites.
If not already, it would be good to enable on your site.
Pre-requisite – you have to ensure IPv6 is enabled on the OS level. If you are using RHEL/CentOS, then you may refer to this guide.
Let’s see the procedure to implement IPv6 in Apache HTTP and the Nginx web server.
How to find IPv6 on Linux?
Before enabling the IPv6, you need to know the IPv6 address. There are multiple ways to locate the IPv6 in Linux/CentOS.
You can use ifconfig with grep inet6 to find the address
The last step you need to do is to update the AAAA record of your domain at the registrar. Once updated, you can verify the record by doing a DNS lookup. You may also use the IPv6 Test tool to check if your website is accessible over IPv6 or not.
Apache is the most popular Web Server, and if you intend to work as a Middleware/System/Web administrator, then you must be familiar with it. Apache HTTP is an open-source Web Server for Windows & UNIX.