DNS / SSL issue

nicolag
HOBBY

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

Closed

2 Replies

nicolag
HOBBY

a year ago

9be90934-90aa-4c42-a791-ea01217e9987


nicolag
HOBBY

a year ago

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


nicolag
HOBBY

a year ago

It did work yesterday though..?


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


nicolag
HOBBY

a year ago

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


nicolag
HOBBY

a year ago

will have a look… thank you for now Brody


nicolag
HOBBY

a year ago

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


nicolag
HOBBY

a year ago

ok thanks


letto4135
FREE

a year ago

@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



thehub256
TRIAL

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


8 months ago

Please open your own thread.


Status changed to Closed brody 8 months ago