How to Fix Cloudflare Error 522 Connection Timed Out and Error 1016

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.

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.

cloudflare error 522 connection timed out

Error 1016 origin DNS error

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 these errors easily.

See Also

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.

fix cloudflare Error 522 Connection Timed Out

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.

cloudflare dns setup

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”.

cloudflare dns settings

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.

fix error 522

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.

See Also

Video Tutorial to Fix Error 522 Connection Timed Out and Error 1016

2 comments

Your Header Sidebar area is currently empty. Hurry up and add some widgets.