a year ago
Hello
I have a DNS related problem when using my 'custom domain'.
My app is deployed on Railway, and works on a Railway-generated domain.
My domain is on Hostinger, and yesterday I could use the Railway-generated '@' CNAME (Hostinger treats it as ALIAS) and my app would show on the domain root.
However, after resetting the DNS on hostinger yesterday to start fresh, today I can't see anything on the domain root (mydomain.tld), even after configuration with the railway details.
Railway shows 'setup complete' and a green check, but I notice it takes only a few seconds (as opposed to a longer time yesterday).
Also, setting a 'catch all' like *.mydomain.tld I can access any "subdomain" without any problems, with a secure connection over https.
Only the domain root remains unaccessible, and I wonder if it is an SSL problem related to a Railway certificate?
The browser shows this error on the root:
ERRSSLPROTOCOL_ERROR
The website cannot provide a secure connection
What can I do to troubleshoot this issue?
Many thanks in advance for your help
2 Replies
SSLchecher finds no certificate for the domain, but I understood Railway would provide one?
a year ago
ALIAS types do not work, it needs to be a CNAME or a flattened CNAME, you would need to use cloudflare's nameservers so that you can do CNAME flattening
a year ago
yeah it works until your service IP changes, railway services are using dynamic shared IPs that could change from deployment to deployment
and using cloudflare DNS it would work for the domain root as well, although the IP is dynamic ?
would there be other ways without using cloudflare ?
a year ago
cloudflare does support CNAMES at the root, yes.
namecheap also supports it, along with a few other DNS providers like DNSimple
another question: as I can get www working with railway, would there be a way to 'redirect' the root to www, or it is not possible ?
a year ago
if your DNS provider can do that, sure, but it's unlikely that they could perform a secure redirect
a year ago
honestly just switch your nameservers to cloudflare (do no transfer the domain) it's super easy
@Brody Does ALIAS still not work? The documentation says it does. At this time, Railway supports CNAME Flattening and ALIAS records.
https://docs.railway.app/guides/public-networking
a year ago
depends on how the provider handles alias records
8 months ago
hello, i have an issue with my domain but mine i bought the domain from godaddy then i have linked the DNS to cloudflare to add new records railway to verify the Domain upift.co it is fully verified but not working
Status changed to Closed brody • 8 months ago