HTTPS Not Supported on My Deployment
gitsamad88
FREEOP

7 months ago

Hello,

I’ve recently deployed my application on Railway with a custom domain. The deployment works, but I noticed that HTTPS is not supported, and the app only loads over HTTP. Since HTTPS is essential for security and modern browsers often block non-HTTPS connections, this is causing usability issues for my users.

Thank you for your assistance.

Solved$10 Bounty

Pinned Solution

gitsamad88
FREEOP

7 months ago

I tried the solution 2 and its working.
thank you.

13 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


avijitbhuin21
HOBBY

7 months ago

Could you please clarify whether you are using a Railway-provided domain or a custom domain?

  • If you are using a custom domain, ensure that SSL has been properly configured through your domain provider.

  • If you are using a Railway-generated domain, SSL is enabled by default, so the application should load directly over HTTPS without additional configuration.


avijitbhuin21

Could you please clarify whether you are using a Railway-provided domain or a custom domain?If you are using a custom domain, ensure that SSL has been properly configured through your domain provider.If you are using a Railway-generated domain, SSL is enabled by default, so the application should load directly over HTTPS without additional configuration.

gitsamad88
FREEOP

7 months ago

I'm using a custom domain, the support of my domain provider recommended me to contact Railway support because I bought from them only the domain name.


avijitbhuin21
HOBBY

7 months ago

can you tell me which domain provider you're using? ssl should be handled by railway automatically.
if possible please share your dns settings here.


gitsamad88
FREEOP

7 months ago

I'm using Nindohost ( I tried Namecheap but they don't support .ma extension)

Dns settings are:

ns1.nindohost.net

ns2.nindohost.net

ns3.nindohost.net

ns4.nindohost.net

My domain name is moudakira.ma


avijitbhuin21
HOBBY

7 months ago

just a quick question, can you tell me how are you connecting your domain to railway? are you pointing your root domain to railway? or is it a subdomain?

and is it showing as successfully connected? how long has it been since it's connected?


avijitbhuin21

just a quick question, can you tell me how are you connecting your domain to railway? are you pointing your root domain to railway? or is it a subdomain? and is it showing as successfully connected? how long has it been since it's connected?

gitsamad88
FREEOP

7 months ago

About 5 hours ago, I added a custom domain. I then configured the DNS settings by first adding an A record, followed by the CNAME record provided by you. Currently, I see the status “validating domain ownership”. The domain seems to be linking correctly, but HTTPS is still not supported.


avijitbhuin21
HOBBY

7 months ago

does it not say setup complete?

like this?

Attachments


gitsamad88
FREEOP

7 months ago

No, maybe I need to wait for 72 hours ? I remembered I read something about this in instructions.


gitsamad88
FREEOP

7 months ago

I sincerely appreciate your help, I did the changement you recommend and waiting now for DNS propagation.

Thank you


gitsamad88

I sincerely appreciate your help, I did the changement you recommend and waiting now for DNS propagation.Thank you

clashing
HOBBY

7 months ago

https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrf

I have shared details about this custom-domain thing specifcally in this post. It barely takes 5 minutes for the DNS to propogate in my case. So, give it a try


gitsamad88
FREEOP

7 months ago

Thank you for your help.
The subdomain is working but the domain is not, so how can I make it work too?


gitsamad88
FREEOP

7 months ago

I tried the solution 2 and its working.
thank you.


Status changed to Solved christian 7 months ago


Loading...