This tutorial will help you to easily fix Cloudflare error 522 connection timed out (host error) and error 1016 origin DNS error. Both the error occurred due to one reason that I have explained in this post step by step with images. Video tutorial is also provided at the end of this tutorial.
Error 522 Connection Timed Out and Error 1016
I have also faced the same situation. I have fixed both these two errors. It is easy to fix it.
If you recently redirected your website from http to https on Cloudflare, then this error is due to incorrect or missing Cloudflare DNS settings.
You have to do a Cloudflare DNS setup to fix these errors.
This is my website and it is showing Error 522. Now, just follow all the steps to fix Cloudflare Error 522 Connection Timed Out.
Error 1016 origin DNS error
Both the error is due to incorrect or missing Cloudflare DNS settings. If you are getting any of these two errors then don’t worry.
This tutorial will help you to fix the error 522 and error 1016 easily.
Fix Cloudflare Error 522 Connection Timed Out – Cloudflare DNS Settings
Cloudflare DNS setup tutorial step by step guide.
Open your Cloudflare account
Open the Cloudflare website and sign in to your account.
Cloudflare DNS setup
Click on the DNS Button and then check your Cloudflare DNS settings. If something is missing or incorrect then add the right records in the DNS. In my case, It is showing that an A, AAA, CNAME was not found pointing to the root domain.
Scroll down the page and check which records are not there in the Cloudflare DNS. After that add those records that are not there in the DNS. You can check which records need to be added to the DNS by visiting your cPanel and you can find it in Zone Editor. In the zone editor, You will find all the DNS Settings.
In my case, some records are missing and in CNAME – the value of URL is incorrect. It is written “is an alias of parkingpage.namecheap.com” but It should be written like this “is an alias of kamattourandtravels.com”.
Add the Records in the right way
You can add these records in your Cloudflare DNS to fix all the errors (error 522 and error 1016). These are the necessary records that must be added to your Cloudflare DNS. If these records are not there in your DNS settings then add these records. It will surely help you to fix your DNS error.
Open your cPanel
Why do I need to open my cPanel? It is because you need to write the dedicated IP address of your website in the DNS to add some records. So, to know your website dedicated IP address. You have to open your cPanel and then search for the zone editor.
Click on the manage button. In the zone editor, You will find all the DNS Settings.
Start adding records
Now, you know your website dedicated IP address. You can start adding records that are required in your Cloudflare DNS. I have added all the records that I need to add in my Cloudflare DNS settings. You can check the below image. These are the necessary records that must be there in your Cloudflare settings.
Reload Your website
Reload your website again and it will work surely. I have reloaded my website and yes it is working. Just follow this step by step guide and you will be able to fix your error easily.
If you have any questions or suggestions, you can write in the comment section.
2 thoughts on “How to Fix Cloudflare Error 522 Connection Timed Out and Error 1016”
I am so confused as i go to dns editor see only MX record and cloudflare does ask a,aaaa or cname where to find it from?