R
Railway•10mo ago
lunix

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
Percy
Percy•10mo ago
Project ID: 860385b6-ff1f-418e-8a19-4d09dffe609a
lunix
lunixOP•10mo ago
860385b6-ff1f-418e-8a19-4d09dffe609a https://astralics.com/
Brody
Brody•10mo ago
can you define "not working" please
lunix
lunixOP•10mo ago
it wont load anything,, it's down
Brody
Brody•10mo ago
thats super vague, please be more specific
lunix
lunixOP•10mo ago
it did detect both dns updates but now it's showing that it's waiting for dns update
No description
lunix
lunixOP•10mo ago
on cloudflare it's working fine ( supposedly )
No description
lunix
lunixOP•10mo ago
No description
lunix
lunixOP•10mo ago
on cloudflare it's working fine ( supposedly )
No description
Brody
Brody•10mo ago
how long has it been on "waiting for dns update"
lunix
lunixOP•10mo ago
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
Brody
Brody•10mo ago
show me the dns in cloudflare please
lunix
lunixOP•10mo ago
No description
lunix
lunixOP•10mo ago
No description
lunix
lunixOP•10mo ago
No description
lunix
lunixOP•10mo ago
oh it was on flexible
lunix
lunixOP•10mo ago
ok it loads, but now it looks like this XD
No description
Brody
Brody•10mo ago
what kind of app is this?
lunix
lunixOP•10mo ago
its supposed to look like this
No description
lunix
lunixOP•10mo ago
next.js app
Brody
Brody•10mo ago
do a hard refresh, probably a cache issue (ctrl + f5)
lunix
lunixOP•10mo ago
there we go. wohoo alright, a couple of days ago i asked about the custom domains thing,, u suggest cloudflare for that right?
Brody
Brody•10mo ago
yeah?
lunix
lunixOP•10mo ago
right il look into it and ask u later for now, thanks a lot 🙂
Brody
Brody•10mo ago
wdym youll look into that? you are already using cloudflare??
lunix
lunixOP•10mo ago
yes i mean ill look into how to set up adding custom domains
Brody
Brody•10mo ago
you have already done that
lunix
lunixOP•10mo ago
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
Brody
Brody•10mo ago
oh that
lunix
lunixOP•10mo ago
yep
Brody
Brody•10mo ago
good luck!
lunix
lunixOP•10mo ago
thank you!
lunix
lunixOP•10mo ago
@Brody do u have any idea why it says dangerous?
No description
lunix
lunixOP•10mo ago
No description
lunix
lunixOP•10mo ago
and when i try to log in as well
No description
lunix
lunixOP•10mo ago
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?
Brody
Brody•10mo ago
just did everything you described, everything works perfectly for me, no scary error pages or anything bad of any kind
lunix
lunixOP•10mo ago
www.astralics.com has the dangerous thing ( or at least for me ) however https://astralics.com works just fine
Brody
Brody•10mo ago
already visited both, I see no issues, I used chrome too
lunix
lunixOP•10mo ago
jesus
lunix
lunixOP•10mo ago
how :"(
No description
lunix
lunixOP•10mo ago
also, im logged in, it shows im logged in if i go on https:// but www. it shows im not logged in
Ray
Ray•10mo ago
Ctrl+F5
lunix
lunixOP•10mo ago
just did that
Ray
Ray•10mo ago
Open it in incognito and try again
lunix
lunixOP•10mo ago
ill try it on another device, one second
Ray
Ray•10mo ago
Something's off with your browser's cache
Brody
Brody•10mo ago
yeah, I agree with ray, seen this before and it fixed itself after some time
lunix
lunixOP•10mo ago
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
No description
No description
No description
lunix
lunixOP•10mo ago
does this have anything to do with this?
No description
lunix
lunixOP•10mo ago
it most probably does
Brody
Brody•10mo ago
do you even need www?
lunix
lunixOP•10mo ago
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
Brody
Brody•10mo ago
use cloudflare to redirect www to non www
lunix
lunixOP•10mo ago
like that?
No description
Brody
Brody•10mo ago
yeah that looks about right
lunix
lunixOP•10mo ago
1 sec if i do www.astralics.com it redirects to https://astralics.com/*
Brody
Brody•10mo ago
haha guess it's not correct just do a quick Google search for the correct rule
lunix
lunixOP•10mo ago
okay
Brody
Brody•10mo ago
(sorry I don't know it off the top of my head)
lunix
lunixOP•10mo ago
no you're totally fine, that's the one
No description
lunix
lunixOP•10mo ago
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 🙂
Brody
Brody•10mo ago
always has worked on my phone
Want results from more Discord servers?
Add your server