Site is working on my side but is down on speed tests and uptimerobot
Hey, my site is working perfectly on my end (both on desktop and mobile), but when I run a Cloudflare speed test, it fails. It's also down on uptimerobot (https://stats.uptimerobot.com/7eg2tZKYZE)
I'm so confused
I can send you the link to it in DMs if needed.
52 Replies
i cant open the site perosnally
maybe its just cached for you
You can't open which site?
Can you screenshot it?
Oh alright then, so I didn't manage to reroute it lol
Any idea how to?
I thought this would work
you can't do CNAME on apex, it's against DNS Spec.
Some providers will automatically flatten it/support flattening it, and some won't. That also would only work if your apex was added in CF Pages as well, which isn't possible unless you're using CF DNS
Oh damn, didn't know that.. Do you know of a workaround way to fix it in my case?
Why not just use CF DNS? It's going to be faster then namecheap and you get all of Cloudflare's features/etc, completely free as well
I'm not sure how to set the whole thing up, I've bought the domain on namecheap and hosted the site with CF pages but apart from that I'm a bit confused
How to use CF DNS? You just add your website in the Cloudflare dashboard under Websites -> Add Site, and change the nameservers at Namecheap: https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-to-change-dns-for-a-domain/
Cloudflare Docs
Change your nameservers (Full setup) · Cloudflare DNS docs
If you want to use Cloudflare as your primary DNS provider and manage your DNS records on Cloudflare, your domain should be using a full setup.
What's the difference between doing it this way (adding CF's nameservers etc.) and doing CF's automatic "Custom domains" process?
I tried the first way without success, dead end, so I tried the second way and it worked
Now I just need to know how to redirect ------.com to www.------.com
That's basically the only issue I have
Custom Domain in Pages Project is just the ability to add Custom Domains which serve your Pages Project
Changing nameservers allows you to use the entire Cloudflare CDN as normal, including the ability to add apex domains/non-www in Pages. You get control over the waf/security settings, all of the redirect rules/other options, etc
plus namecheap's dns is just going to be slower then CF's
Ah alright I think I get it
I'm gonna try then, thank you
Then I need to wait up to 24 hours and receive an email, then non-www will correctly redirect? @Chaika
once your domain is active in Cloudflare, you can either add your apex as a Pages Custom Domain, or add a redirect for it yea
the way you showed here, if it was setup in CF, would just serve the website on your root as well. CNAMEs are not redirects.
Oh I thought they were, my bad
how do I add the redirect?
themultiversealliance.com/* to www.themultiversealliance.com/$1 I suppose
you could use page rules yea, once you get it added in Cloudflare
people usually go the other way around (www to apex/non-www), but it's up to you
Tbh I have no idea what "apex" means lol, not familiar with that term
That's why I was gonna go for the less common workaround
ah sorry
themultiversealliance.com -> apex/root
www.themultiversealliance.com -> subdomain
Ohhh
So I do that with page rules right
Page Rules is one of the options you can use to do redirects yea
Alright thanks!
Imma try this
did you change your nameservers in namecheap to the ones CF gave you?
Yes
Hopefully it doesn't take too long for the changes to propagate..
you did it following this? https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-to-change-dns-for-a-domain/, ex:
just double checking you didn't do it under their DNS tab which wouldn't do anything
yep! custom dns, pasted both nameservers and hit save/confirm
starting to see it updated in a few locations, just gotta give it some time, and then some time after that for your local dns resolver cache to expire
got it, where do you see that it's getting updated btw?
or is it just an assumption
You can query the authoritive nameservers for com. For example, in linux using dig
Oh nice! I don't have a linux machine but that's very good to know
of course, doing so is bypassing every layer of caching, so it'll take a bit for it to propagate down/cache to expire
Yeah, I don't know why my browser's cache expires very.. slowly to say the least
I have to try on my phone to see the changes quicker
probably because you are using your ISP's DNS Resolver (which is default), and sometimes they ignore ttl/cache for longer then they should
Yeah I assume that is the case
@Chaika cloudflare domains automatically have cloudflare dns right?
Hey @Chaika, wanted to know if you knew how to fix that:
Whenever I set up CF DNS (so using the two nameservers and all that), my domain just straight up doesn't work anymore
Any help is appreciated
Registrar domains are forced cf dns yea
You have a Cloudflare redirect on www to your root/apex, and your root/apex is pointing at Namecheap URL Forwarding
You want your root/apex to show the pages site, right? If so, go into your Pages Project -> Custom Domains and add your root (themultiversealliance.com) as a new Custom Domain, and let it replace the record
Thanks for responding!
Isn't that what I already have though?
no, you can see your root domain (themultiversealliance.com) is not going to Pages.
Oh, what's the ip for?
Now that you are using CF DNS, you can have a CNAME on your root/apex. Just navigate to your Pages Project -> Custom Domains and add your root (themultiversealliance.com) as a new Custom Domain, and let it replace the record
So I keep this one and I make a new one for themultiversealliance.com?
Yes, that's fine.
Thank you, will do that now
And since I use CF for DNS, I don't have to do that, correct? I assume it already did it automatically
Check your DNS Records and see. It should have replaced the record automatically if your website active in Cloudflare
Yeah seems like it now works! Not on my phone though but I assume I just need to give it some time