How to point my Cloudflare domain to my hosting server

I bought my domain from Cloudflare Registrar and I want to point domain to my server provider.

I added my server provider nameserver to Cloudflare DNS but I still getting Error 522 Connection Time Out

Did I miss something

I absolutely added the A Record Type to point to my server IP

Maybe your server ports are closed


Thank you for asking.

After you change your domain nameservers at your domain registrar to Cloudflare nameservers, once it’s propagated and finished, you’d have to configure, add or edit DNS records under the DNS tab of Cloudflare dashboard.

The web hosting provider should have some kind of an web hosting interface, where you could check and lookup for any of the existing DNS records. Therefrom, you might have an option to either export them and import to Cloudflare, otherwise open up 2 tabs in your Web browser and compare each, then re-add them manually to the DNS at Cloudflare.

Helpful articles/tutorials which provide step-by-step instructions, just in case:

I am sorry to hear you’re experiencing an issue with your domain.

Might be related to the recent incident:

Do you still experience the same?

May I ask which of the suggest steps for troubleshooting from the article below have you tried so far? :thinking:

Before moving to Cloudflare, was your Website working over HTTPS connection?

You could determine this by:

  1. Use the “Pause Cloudflare on Site” option from the Overview tab for your domain at .
  2. The link is in the lower right corner of that page.
  3. Give it five minutes to take effect, then make sure site is working as expected with HTTPS.
  4. Only then should you un-pause Cloudflare and double-check your SSL/TLS setting to make sure it’s Full (Strict).

May I ask what SSL option have you got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?

Here is a way to re-check if you correctly setup the SSL for your domain with Cloudflare:

In case you do not have an SSL certificate, you can use Cloudflare SSL, if so, kindly make sure you follow the instructions as follows on the below article to setup an SSL certificate using Cloudflare Origin CA Certificate:

Last but not least, kindly have a look here for more information regarding correct SSL settings at the SSL/TLS tab on Cloudflare dashboard:

Furthermore, do not skip below step and kindly re-check if Cloudflare is allowed to connect to your origin host to as follows in the below article:

Nevertheless, Cloudflare IP addresses list can be found here:

After tracing domain, I notice that Firewall was not allowed for Nginx

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.