Custom domain not linked with Railway after 1 day
srleom
TRIALOP

a year ago

Hi, i'm facing an issue of my custom domain not linking with Railway. It's been a day and railway is still issuing TLS certificate. My project id is 7629c412-f905-49c9-abbc-56cd1f6943b1, and i'm using namecheap for my domain. Appreciate help on this, thanks!

21 Replies

dev
MODERATOR

a year ago

Can you send me your DNS configuration and the a screenshot of the custom domain configured on Railway, just so that we can make sure they're both correct


srleom
TRIALOP

a year ago

Here you go:

Railway configuration

NameCheap DNS configuration


dev
MODERATOR

a year ago

Awesome, looking good, can you try removing that DNS record and also your custom domain from Railway, then re-add it after? That usually solves issues like this


srleom
TRIALOP

a year ago

I've tried that multiple times already grimacing emoji with no success :(


srleom
TRIALOP

a year ago

https://dnschecker.org/#CNAME/studylouis.com

Based on this DNS checker, it seems that the DNS has successfully propagated, but TLS certificate is taking a long time to issue. Might this be an error on Railway's side?


srleom
TRIALOP

a year ago

Also, is it an issue if both my Railway generated domain and custom domain listen on the same port 8080?


dev
MODERATOR

a year ago

No that shouldn't be an issue, I'm not sure what could be wrong here
I do see that you have different nameservers attached though, are you using namecheap as a nameserver?


srleom
TRIALOP

a year ago

Yes, I am only using Namecheap as my domain registrar. I also use Resend as my email provider.


srleom
TRIALOP

a year ago

Could you help me do a thorough check on what could be causing the issue and ways to rectify it? I'm on a deadline to deploy this project to production by today grimacing emoji Appreciate the help!


srleom
TRIALOP

a year ago

Based on this DNS checker (https://dnschecker.org/#CNAME/studylouis.com), it seems that the CNAME record has propagated to most regions. What could be hindering Railway from issuing the TLS certificate?


dev
MODERATOR

a year ago

Hey sorry for taking so long to reply, I was asleep
I know you've tried this many times before but can you try one last time, remove everything (the DNS record, the railway domain) then wait a bit and then go through the domain setup process again


srleom
TRIALOP

a year ago

I have just done so a few hours back, even re-deploying my entire application, but it's still not working. Please, can I request for an escalation of this issue? If this issue is not resolved, I would have to resort to other hosting providers already. 🙏🏻


srleom
TRIALOP

a year ago

By the way, my application is a simple NextJS application that I pushed to Github without any Dockerfile. Is there a need for me to create a Dockerfile, and if yes, is that the reason for the TLS certificate not being issued?


brody
EMPLOYEE

a year ago


brody
EMPLOYEE

a year ago

If this issue is not resolved, I would have to resort to other hosting providers already.

This is not an issue with Railway, but you should do what you think is best.


srleom
TRIALOP

a year ago

This is my CNAME DNS record in Namecheap.

NSLookup shows no DNS records;

but DNSChecker shows some DNS records

@brody how do you suggest I go about debugging and resolving this issue? Thanks 🙏🏻


brody
EMPLOYEE

a year ago

I don't know what DNS resolver DNSChcker uses, but we use Google's DNS, hence my nslookup link selected to use Google DNS.

We can't help further with DNS issues as that would be far out of our control, instead you would want to get in contact with Namecheap.

Remove the domain from Railway.

Figure out the issue preventing DNS from propagating.

Check the domain with nslookup to see that the correct CNAME is present.

Then finally, you can add the domain back to Railway.


parth
HOBBY

a year ago

I'm facing the same issue. I don't have much knowledge on dockers and containers and such, I thought it'd be simpler to deploy with Railway than anything else but now am facing weird errors anytime I setup custom domains.


brody
EMPLOYEE

a year ago

parth, the domain doesn't relate to Docker, and as mentioned, issues with your domain our outside of our control.


srleom
TRIALOP

a year ago

The CNAME record is appearing under Control D (unfiltered). I also found out that Namecheap does not use Google DNS. Is this a problem of incompatibility of Namecheap with Railway?

Attachments


brody
EMPLOYEE

a year ago

> The CNAME record is appearing under Control D (unfiltered).

Railway uses Google DNS, it is not productive to lookup your domain with anything other than Google's DNS.

> I also found out that Namecheap does not use Google DNS.

No, but Railway uses Google DNS to lookup your domain's records.

> Is this a problem of incompatibility of Namecheap with Railway?

Nope, I use namecheap domains and nameservers with Railway all the time, you have something misconfigured.

I notice that nslookup (Google) now says your domain is pointed to an A record from amazon.


Loading...