HTTPS Not Supported on My Deployment
gitsamad88
FREEOP

a year 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

a year ago

I tried the solution 2 and its working.

thank you.

13 Replies

Railway
BOT

a year 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
PRO

a year 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

a year 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
PRO

a year 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

a year 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
PRO

a year 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

a year 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
PRO

a year ago

does it not say setup complete?

like this?

Attachments


gitsamad88
FREEOP

a year ago

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


gitsamad88
FREEOP

a year 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

a year 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

a year 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

a year ago

I tried the solution 2 and its working.

thank you.


Status changed to Solved christian 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...