R
Railwayā€¢12mo ago
SamuRB

Custom domain configuration using AWS Route 53

Hi there, I'm trying to connect my custom domain fintraker.com which I have on AWS Route 53 to point to my Railway deployment. I've managed to get the www.fintraker.com working but I cannot get fintraker.com itself to work. I've also tried to use Cloudflare proxying as stated in documentation: https://docs.railway.app/guides/public-networking#redirecting-a-root-domain-workarounds But I did not suceed either. At this point I'm messed up and would appreciate so much some help šŸ™‚ I would be happy to provide any other info or screenshot thats needed to help me solve the issue, thanks so much in advance šŸ™‚
Railway Docs
Public Networking | Railway Docs
Documentation for Railway
53 Replies
Percy
Percyā€¢12mo ago
Project ID: 4bb62b39-227a-4bf2-8468-707fb8d313c9
SamuRB
SamuRBOPā€¢12mo ago
10fa226b-c0aa-4811-9638-048b9d606877 10fa226b-c0aa-4811-9638-048b9d606877
Fragly
Fraglyā€¢12mo ago
make sure proxy is enabled and requests use https and not http when using cloudflare proxy
SamuRB
SamuRBOPā€¢12mo ago
Sorry I provided the service ID instead of the project ID, Project ID is 10fa226b-c0aa-4811-9638-048b9d606877
SamuRB
SamuRBOPā€¢12mo ago
Yes, proxy is enabled and the requests Im doing use https
No description
Fragly
Fraglyā€¢12mo ago
why do they point to 2 different railway domains?
SamuRB
SamuRBOPā€¢12mo ago
When adding the two custom domains, I was provided with two instruction sets with different values
No description
Fragly
Fraglyā€¢12mo ago
Also, I am not seeing the cnames on your DNS records oh ok Might be worth just to wait for the DNS settings to propogate it can take up to 48 hours iirc ( normally is quick though )
SamuRB
SamuRBOPā€¢12mo ago
Maybe I did AWS something wrong when setting up Route 53... This is my current setup, in case it helps
No description
Fragly
Fraglyā€¢12mo ago
Nah, you've set that up correctly
SamuRB
SamuRBOPā€¢12mo ago
Maybe I should try to get back to just using Route 53 without Cloudflare In that way I did manage to at least have www.fintraker.com working (i was just missing fintraker.com) By using Cloudflare none of them work
Fragly
Fraglyā€¢12mo ago
I'd recommend just being patient
SamuRB
SamuRBOPā€¢12mo ago
Okey I'll give it a couple of hours šŸ™‚
Fragly
Fraglyā€¢12mo ago
Sounds good
SamuRB
SamuRBOPā€¢12mo ago
Thanks for your quick response!
Fragly
Fraglyā€¢12mo ago
Happy to help :)
SamuRB
SamuRBOPā€¢12mo ago
Hi, sorry to be back šŸ˜… A couple of days passed and the domain isnt working yet Im assuming all DNS updates had enough time to propagate by now
Fragly
Fraglyā€¢12mo ago
Should've been, if not then there's definitally a problem yea, I am not seeing any CNAMEs on that domain.. šŸ¤” very weird
ENT3I <3
ENT3I <3ā€¢12mo ago
Welcome to AWS Route 53ā€¦. I had this exact problem two weeks ago, and I had to give up
SamuRB
SamuRBOPā€¢11mo ago
So didn't you find any solution? Should I transfer my domain to another registrar? If anyone was wondering, I finally transfered my domain out from Route 53 to Cloudflare Sadly I'm now getting a ERR_SSL_VERSION_OR_CIPHER_MISMATCH error šŸ˜¦
Brody
Brodyā€¢11mo ago
that will fix itself in time, always has every time someone has had that issue well that would be true given that you have setup the domain correctly
SamuRB
SamuRBOPā€¢11mo ago
Nice, thats what I thought I will check back tomorrow and update the thread once everything is fine
Brody
Brodyā€¢11mo ago
usually sorts itself out within an hour
SamuRB
SamuRBOPā€¢11mo ago
Just so maybe it help someone else Guys I feel so bad for having to insist... but I'm still getting the error...
Brody
Brodyā€¢11mo ago
can you send your domain so that I can visit it?
SamuRB
SamuRBOPā€¢11mo ago
Yess www.fintraker.com seems to be working The problem is with fintraker.com
SamuRB
SamuRBOPā€¢11mo ago
No description
No description
Brody
Brodyā€¢11mo ago
show me the domains you have in your railway service?
SamuRB
SamuRBOPā€¢11mo ago
No description
Brody
Brodyā€¢11mo ago
why have the www subdomain using the proxy, but not the root domain?
SamuRB
SamuRBOPā€¢11mo ago
I was just playing trying different things
SamuRB
SamuRBOPā€¢11mo ago
No description
SamuRB
SamuRBOPā€¢11mo ago
I've now enabled both proxies
Brody
Brodyā€¢11mo ago
for me https://fintraker.com works fine https://www.fintraker.com does not work
SamuRB
SamuRBOPā€¢11mo ago
https://dnschecker.org/#CNAME/fintraker.com doesn't seem to be resolvong the domain
DNS Checker
DNS Checker - DNS Check Propagation Tool
Check DNS Propagation worldwide. DNS Checker provides name server propagation check instantly. Changed nameservers so do a DNS lookup and check if DNS and nameservers have propagated.
SamuRB
SamuRBOPā€¢11mo ago
Thats strange, make sure to use incognito mode / no local cache Now neither of them are working for me šŸ˜…
Brody
Brodyā€¢11mo ago
do you need www?
SamuRB
SamuRBOPā€¢11mo ago
I really dont I would be fine just with fintraker.com
Brody
Brodyā€¢11mo ago
okay then remove the www along with your root domain from cloudflare and railway, then add just the root domain back to railway and then cloudflare
SamuRB
SamuRBOPā€¢11mo ago
Okey I've now deleted everything DNS related on both sides I've just added fintraker.com with Cloudflare proxy on When visiting fintraker.com I get ERR_SSL_VERSION_OR_CIPHER_MISMATCH error
Brody
Brodyā€¢11mo ago
okay if you still see that in an hour let me know
SamuRB
SamuRBOPā€¢11mo ago
Okey thanks Hi šŸ™‚ still same error šŸ˜…
Brody
Brodyā€¢11mo ago
works fine for me now
SamuRB
SamuRBOPā€¢11mo ago
šŸ™ƒ I'm even tying with several browsers and devices Same ERR_SSL_VERSION_OR_CIPHER_MISMATCH error on all
Brody
Brodyā€¢11mo ago
well i just got that error back show me the domain in railway and your dns settings in cloudflare
SamuRB
SamuRBOPā€¢11mo ago
No description
No description
SamuRB
SamuRBOPā€¢11mo ago
this was the last change I made
Brody
Brodyā€¢11mo ago
looks good to me
SamuRB
SamuRBOPā€¢11mo ago
Everything is according to docs in my understanding
Brody
Brodyā€¢11mo ago
more waiting šŸ™‚
SamuRB
SamuRBOPā€¢11mo ago
wat not working I'm going to delete the whole project and try to set it up again After several attempts I managed to get it working šŸ„³šŸŽ‰
Brody
Brodyā€¢11mo ago
awsome!!
SamuRB
SamuRBOPā€¢11mo ago
Config that seems to be working
No description
No description
Want results from more Discord servers?
Add your server