Let’s see the steps to disable IPv6 on Cloudflare. Bobcares, as a part of our Server Management Services, offers solutions to every query that comes our way.
How to disable IPv6 on Cloudflare?
Cloudflare has IPv6 enabled by default on all sites. This is a good option as IPv6 provides a solution to resource depletion. However, it can occasionally cause problems with legacy systems. This article explains two methods to disable IPv6 on the site.
Method 1
We can disable IPv6 using Cloudflare API. The method consists of two steps:
- API creation
- API command Exceution
API creation
- We must first obtain an API Key before we can use the API. This can be done on the API Tokens User Profile page.
- We can select ‘Create Custom Token’ after pressing the ‘Create Token’ button.
- Then we must make a new token with ‘Edit’ permissions to ‘Zone Settings.’ This key can also be limited to a certain zone.
- We will now have access to an alphanumeric API Token after saving these changes. Save this unique code for the next step.
API command Exceution
We want CURL installed and a terminal/command line prompt open. Replace with the Zone ID from the Dashboard. Replace with the API Key from the previous step. Finally, execute the below command.
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/<zone_id>/settings/ipv6" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ --data '{"value":"off"}'
Thus IPv6 on the WordPress site is disabled successfully.
Method 2
In this method, we’re using cPanel to disable IPv6.
- Firstly, we must log into the cPanel account.
- Next, in the Software section, select Cloudflare.
- Then, to access the account, click Sign in Here.
- Next, select the Home menu.
- Finally, the On/Off button is visible in front of IPv6 Compatibility. We should click it to enable or disable IPv6 compatibility support.
[Need assistance with another issue? We’re available 24/7.]
Conclusion
In this article, we provide two methods from our Tech team to disable IPv6 on Cloudflare. The first method is through the API and the second one is by using the cPanel.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
var google_conversion_label = "owonCMyG5nEQ0aD71QM";
0 Comments