R
Railwayā€¢11mo 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ā€¢11mo ago
Project ID: 4bb62b39-227a-4bf2-8468-707fb8d313c9
SamuRB
SamuRBā€¢11mo ago
10fa226b-c0aa-4811-9638-048b9d606877 10fa226b-c0aa-4811-9638-048b9d606877
Fragly
Fraglyā€¢11mo ago
make sure proxy is enabled and requests use https and not http when using cloudflare proxy
SamuRB
SamuRBā€¢11mo ago
Sorry I provided the service ID instead of the project ID, Project ID is 10fa226b-c0aa-4811-9638-048b9d606877
SamuRB
SamuRBā€¢11mo ago
Yes, proxy is enabled and the requests Im doing use https
No description
Fragly
Fraglyā€¢11mo ago
why do they point to 2 different railway domains?
SamuRB
SamuRBā€¢11mo ago
When adding the two custom domains, I was provided with two instruction sets with different values
No description
Fragly
Fraglyā€¢11mo 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
SamuRBā€¢11mo 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ā€¢11mo ago
Nah, you've set that up correctly
SamuRB
SamuRBā€¢11mo 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ā€¢11mo ago
I'd recommend just being patient
SamuRB
SamuRBā€¢11mo ago
Okey I'll give it a couple of hours šŸ™‚
Fragly
Fraglyā€¢11mo ago
Sounds good
SamuRB
SamuRBā€¢11mo ago
Thanks for your quick response!
Fragly
Fraglyā€¢11mo ago
Happy to help :)
SamuRB
SamuRBā€¢10mo 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ā€¢10mo 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ā€¢10mo ago
Welcome to AWS Route 53ā€¦. I had this exact problem two weeks ago, and I had to give up
SamuRB
SamuRBā€¢10mo 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ā€¢10mo 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
SamuRBā€¢10mo ago
Nice, thats what I thought I will check back tomorrow and update the thread once everything is fine
Brody
Brodyā€¢10mo ago
usually sorts itself out within an hour
SamuRB
SamuRBā€¢10mo 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ā€¢10mo ago
can you send your domain so that I can visit it?
SamuRB
SamuRBā€¢10mo ago
Yess www.fintraker.com seems to be working The problem is with fintraker.com
SamuRB
SamuRBā€¢10mo ago
No description
No description
Brody
Brodyā€¢10mo ago
show me the domains you have in your railway service?
SamuRB
SamuRBā€¢10mo ago
No description
Brody
Brodyā€¢10mo ago
why have the www subdomain using the proxy, but not the root domain?
SamuRB
SamuRBā€¢10mo ago
I was just playing trying different things
SamuRB
SamuRBā€¢10mo ago
No description
SamuRB
SamuRBā€¢10mo ago
I've now enabled both proxies
Brody
Brodyā€¢10mo ago
for me https://fintraker.com works fine https://www.fintraker.com does not work
SamuRB
SamuRBā€¢10mo 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
SamuRBā€¢10mo ago
Thats strange, make sure to use incognito mode / no local cache Now neither of them are working for me šŸ˜…
Brody
Brodyā€¢10mo ago
do you need www?
SamuRB
SamuRBā€¢10mo ago
I really dont I would be fine just with fintraker.com
Brody
Brodyā€¢10mo 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
SamuRBā€¢10mo 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ā€¢10mo ago
okay if you still see that in an hour let me know
SamuRB
SamuRBā€¢10mo ago
Okey thanks Hi šŸ™‚ still same error šŸ˜…
Brody
Brodyā€¢10mo ago
works fine for me now
SamuRB
SamuRBā€¢10mo ago
šŸ™ƒ I'm even tying with several browsers and devices Same ERR_SSL_VERSION_OR_CIPHER_MISMATCH error on all
Brody
Brodyā€¢10mo ago
well i just got that error back show me the domain in railway and your dns settings in cloudflare
SamuRB
SamuRBā€¢10mo ago
No description
No description
SamuRB
SamuRBā€¢10mo ago
this was the last change I made
Brody
Brodyā€¢10mo ago
looks good to me
SamuRB
SamuRBā€¢10mo ago
Everything is according to docs in my understanding
Brody
Brodyā€¢10mo ago
more waiting šŸ™‚
SamuRB
SamuRBā€¢10mo 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ā€¢10mo ago
awsome!!
SamuRB
SamuRBā€¢10mo ago
Config that seems to be working
No description
No description
Want results from more Discord servers?
Add your server