nico14
July 18, 2024, 12:42pm
1
What is the name of the domain?
dooiu
What is the error number?
522
What is the error message?
connection time out
What is the issue you’re encountering
Error code 522 when dooiu.com (without www)
What steps have you taken to resolve the issue?
Checked all records
What are the steps to reproduce the issue?
go the the website without the www
Screenshot of the error
sandro
July 18, 2024, 1:19pm
2
Check out Community Tip - Fixing Error 522: Connection timed out
You best pause Cloudflare and make sure that your site loads fine on HTTPS without Cloudflare, then it should also work on Cloudflare.
nico14
July 18, 2024, 2:38pm
3
And what should be the expected behaviour? note that www.dooiu.com is working fine, I just get the time out when I don’t use www
sandro
July 18, 2024, 2:44pm
4
That the site is loading.
nico14
July 18, 2024, 2:57pm
5
Should I add an A record when pausing cloudflare? if so, what’s the ip, I can’t find it
sandro
July 18, 2024, 3:01pm
6
You need to clarify this with your host I am afraid. Either the same address as www
or whatever else that works.
nico14
July 18, 2024, 3:26pm
7
godaddy told me that everything is fine on their end… So this is what I did. I created a page using workers. I used custom domain. It created a cname and pointed it to the right address. I created another cname for @ and pointed it to the right address. I deleted the A record that I had pointing to canvas IP.
Results:
The page is working fine for the www subdomain.
The page is havving a time out for dooiu.com without the www
Any other idea?
nico14
July 18, 2024, 3:26pm
8
I also checked in DNS checker and realize that the cname are not propagating
sandro
July 18, 2024, 3:29pm
9
You still haven’t paused Cloudflare.
Again, you need to do this and then verify your setup. Cloudflare is not involved here.
sandro
July 18, 2024, 3:45pm
11
Your site is not configured for your host, but for Cloudflare Pages. And here you seemingly only configured www
on Cloudflare, but not the naked domain. You need to do the latter as well or use the redirect as shown at Tutorials .
1 Like
nico14
July 18, 2024, 3:45pm
12
So I paused it, and the issue persists, I still get the same error… (I appreciate your time btw, thanks)
sandro
July 18, 2024, 3:46pm
13
See Error code 522 when dooiu.com (without www) - #11 by sandro
You need to fix the Pages setup, if you want to use Pages.
nico14
July 18, 2024, 3:52pm
14
Thank you so much! It solved. I needed to add the naked domain to custom domain in cloudflare pages.
system
Closed
July 20, 2024, 3:53pm
16
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.