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
10 Replies
If you want
www
to work, you need to add it as another Pages Custom Domainapex works fine for me though:
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
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
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
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
if you type
nslookup thedealx.com
in command prompt (assuming windows), what do you see?
It seems that I'm on cloudflare DNS, what if I swap to google DNS @ 8.8.8.8 can that solve the issue?
those 188.x.x IPs, are you from a country like turkey/egypt/china/etc that may be blocking connections/blocking cloudflare?
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?