Connected my cloudflare page to my domain, but It's not working

Hey there, I have a cloudflare page hosting my sveltekit website, it's a simple static website doing nothing, anyways after I linked it with my domain, and the DNS records was updated sucessfully, but I'm getting a connection timeout visiting www.mydomain.com and a refused to connect error visiting the root @, even when the page subdomain is working fine though My pages.dev subdomain: www-dealx-landing.pages.dev My account id: 8845adbc1572371ee22677b50050d90c
No description
No description
No description
No description
10 Replies
Chaika
Chaika7mo ago
If you want www to work, you need to add it as another Pages Custom Domain
Chaika
Chaika7mo ago
apex works fine for me though:
No description
Chaika
Chaika7mo ago
err_connection_refused is either dns cache of an old/wrong result, or something wrong with your firewall/browser extensions. Would fix www first and go from there
Mohamed Dief
Mohamed DiefOP7mo ago
I don't really need www. to work, I might just add a redirection to it or something, but anyways how can I actually delete the dns cache? I did restart my router this morning but it doesn't seem to be working
Chaika
Chaika7mo ago
There's different levels of dns cache, your resolver is usually the longest and some ISP operated resolvers don't respect ttl/may cache for way longer then they should, nothing you can do to clear it other then switching DNS Resolvers That being said if it's been over 12 hours ago it's probably something else blocking you/not dns
Mohamed Dief
Mohamed DiefOP7mo ago
The problem seems to be in my network or something, I did flush the DNS cache on windows but the problem still exists, I tried accessing the website on my phone and different browsers and I'm still stuck with the same issue, I will contact my internet provider to see what I can do
Chaika
Chaika7mo ago
if you type nslookup thedealx.com in command prompt (assuming windows), what do you see?
Mohamed Dief
Mohamed DiefOP7mo ago
C:\Users\demonia>nslookup thedealx.com
Server: one.one.one.one
Address: 1.1.1.1

Non-authoritative answer:
Name: thedealx.com
Addresses: 2a06:98c1:3121::6
2a06:98c1:3120::6
188.114.97.6
188.114.96.6
C:\Users\demonia>nslookup thedealx.com
Server: one.one.one.one
Address: 1.1.1.1

Non-authoritative answer:
Name: thedealx.com
Addresses: 2a06:98c1:3121::6
2a06:98c1:3120::6
188.114.97.6
188.114.96.6
It seems that I'm on cloudflare DNS, what if I swap to google DNS @ 8.8.8.8 can that solve the issue?
Chaika
Chaika7mo ago
those 188.x.x IPs, are you from a country like turkey/egypt/china/etc that may be blocking connections/blocking cloudflare?
Mohamed Dief
Mohamed DiefOP7mo ago
I'm actually from Egypt yeah, is there a workaround for that? I might've found something about that, https://community.cloudflare.com/t/ip-range-188-114-97-not-serving-in-egypt/420677/3 but the solution here would just work for me, and the business is running in Egypt, most of our visitors would be located in Egypt, Is there a way to swap the IP range to anything else?
Want results from more Discord servers?
Add your server