help setting up cloudflare
I recently bought a domain and i tried to set up cloudflare with that domain and railway but for some reason it's not working
64 Replies
Project ID:
860385b6-ff1f-418e-8a19-4d09dffe609a
860385b6-ff1f-418e-8a19-4d09dffe609a
https://astralics.com/
can you define "not working" please
it wont load anything,, it's down
thats super vague, please be more specific
it did detect both dns updates but now it's showing that it's waiting for dns update
on cloudflare it's working fine ( supposedly )
on cloudflare it's working fine ( supposedly )
how long has it been on "waiting for dns update"
around 40 mins
it worked for like 5 mins and everyhting loaded and it was working fine
but now it's "waiting for dns update"
and the website itsself wont load
show me the dns in cloudflare please
take a look at this docs section https://docs.railway.app/guides/public-networking#provider-specific-instructions
oh it was on flexible
ok it loads, but now it looks like this XD
what kind of app is this?
its supposed to look like this
next.js app
do a hard refresh, probably a cache issue (ctrl + f5)
there we go.
wohoo
alright, a couple of days ago i asked about the custom domains thing,, u suggest cloudflare for that right?
yeah?
right
il look into it and ask u later
for now, thanks a lot 🙂
wdym youll look into that? you are already using cloudflare??
yes i mean
ill look into how to set up adding custom domains
you have already done that
bcs that's probably the most important feature in the project, and i can't add it yet
no. i need to let users be able to add their own custom domains
not my custom domain
oh that
yep
good luck!
thank you!
@Brody do u have any idea why it says dangerous?
and when i try to log in as well
wtf? one works fine, the other doesnt
when i type the url in "astralics.com" it doesnt work, when i access the url from railway it works just fine
the www. version is the one that's bad, the https://astralics.com is fine, how do i fix this?
just did everything you described, everything works perfectly for me, no scary error pages or anything bad of any kind
www.astralics.com has the dangerous thing ( or at least for me )
however https://astralics.com works just fine
already visited both, I see no issues, I used chrome too
jesus
how :"(
also, im logged in, it shows im logged in if i go on https:// but www. it shows im not logged in
Ctrl+F5
just did that
Open it in incognito and try again
ill try it on another device, one second
Something's off with your browser's cache
yeah, I agree with ray, seen this before and it fixed itself after some time
ive tried it with another browser,
I've realized that :
- the https://astralics.com works, logging in works as well and everything is fine.
- the www.astralics.com works, but doesnt let me log in, and isnt exactly like the https:// one
does this have anything to do with this?
it most probably does
do you even need www?
i don't, i'm just worried bcs it causes errors
honestly as long as whenever i type astralics.com it goes to the https:// i'm totally fine
use cloudflare to redirect www to non www
like that?
yeah that looks about right
1 sec
if i do www.astralics.com it redirects to https://astralics.com/*
haha guess it's not correct
just do a quick Google search for the correct rule
okay
(sorry I don't know it off the top of my head)
no you're totally fine, that's the one
fixed it! thank you
question, does it work on your phone? cos for some reason it would NEVER load on my phone
could be something to do with my IPS
yep definitely something to do with my IPS because it works fine on 4G
Thank you a lot @Brody 🙂
always has worked on my phone