8 months ago
From Railway's documentation, they say that they support aliases:
"At this time, Railway supports CNAME Flattening and ALIAS records." here
Brody has said in several threads that squarespace does not support CNAME flattening at the root here, although this is true, there is a way to get a squarespace domain to work with railway directly using an alias for the root. You need two records:
Record 1:
Host: @
Type: ALIAS
Priority: --
Data: ______.up.railway.app
Record 2:
Host: WWW
Type: CNAME
Priority: --
Data: ______.up.railway.app
In your railway -> your project -> your service -> settings -> networking -> public networking setup your domainHere.com as record 1, and add another custom domain to as www.domainHere.com. The Data
for record 1 and 2 will be different! Setup record 1 as @ and record 2 as www.
Takes just a few minutes. You should immediately see, "Issuing TLS certificate" and then "Waiting on DNS" this will go on for a few minutes till it says "Setup Complete"
Hope this is helpful!
6 Replies
8 months ago
Here is an example!
Attachments
8 months ago
Will squarespace update the root IP address whenever the IP behind the CNAME changes? if they don't, your domain will break at some point in the future when the IP changes.
This is why the docs mention that only dynamic ALIAS or CNAMEs are supported.
Status changed to Awaiting User Response railway[bot] • 8 months ago
a month ago
I keep getting this error after configuring it exactly as you said: We were unable to save this record. Try again later. If this problem continues, contact Customer Support. What should i do?
Status changed to Awaiting Railway Response railway[bot] • about 1 month ago
madyarov27
I keep getting this error after configuring it exactly as you said: We were unable to save this record. Try again later. If this problem continues, contact Customer Support. What should i do?
a month ago
Use a CNAME at the root with nameservers that support it like Cloudflare's
Status changed to Awaiting User Response railway[bot] • about 1 month ago
brody
Use a CNAME at the root with nameservers that support it like Cloudflare's
a month ago
thank u very much
Status changed to Awaiting Railway Response railway[bot] • about 1 month ago
Status changed to Solved david • 30 days ago