Can't access my site after a successful DNS propagation

enyoyx-hq
HOBBY

2 days ago

I recently deployed my website here and added the DNS record provided to my domain provider but after successful propagation, this is the error message I get when trying to access the custom public domain.

Please how can I fix this?

Attachments

Solved$10 Bounty

29 Replies

Railway
BOT

2 days 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!


2 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 2 days ago


2 days ago

Hello,

This is an issue with your domain setup, I have opened this thread to the community so that they can help you sort that out.


enyoyx-hq
HOBBY

2 days ago

I just resolve this issue with my domain provider now and they helped add the DNS record from here in their end


enyoyx-hq
HOBBY

2 days ago

But It still doesn't work from your end.

And this is their recommendation:

"You have to contact new provider and install SSL to www record"


2 days ago

We will automatically issue a certificate when you add your www subdomain, you have yet to do that.


enyoyx-hq
HOBBY

2 days ago

Please could you suggest how i can do this?

My startup's website has been down for days now trying to fix this


clashing
FREETop 1% Contributor

2 days ago

Hi enyoyx-hq, as I can see that you are having some issues with DNS propogation for your custom domain, you can have a look at my detailed response for how to work with Custom Domains: https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrf

I am sure that would help you


enyoyx-hq
HOBBY

2 days ago

Hello @clashing I have done what's in your guide and check my DNS and it shows it has propagetd successfully but when I try accessing it I get this:

Attachments


clashing
FREETop 1% Contributor

2 days ago

Thanks for the confirmation. What is the service that you are hosting on Railway, which is pointing to this domain? Provide a screenshot of the service in Railway, along with logs being visible.

Also, provide the initial configuration of the server


enyoyx-hq
HOBBY

2 days ago

Bluehost.

I may not undersatnd your other requests

Please can you explain further


enyoyx-hq
HOBBY

2 days ago


enyoyx-hq
HOBBY

2 days ago

The guys at bluehost just reached out to say I should wait for the propagation to be complete even when it indicates from DNS checker that it's all complete


clashing
FREETop 1% Contributor

2 days ago

I tried it using Postman, and I received a 404 error, which means that your server (whatever you are hosting on Railway) is not providing a valid path/file. So, it's an application-level issue. I have the following queries:

a. What things have you put in the Railway? Is it a web server or a website?

b. Please provide the code snippet of the initial lines of the file that you have hosted in Railway.

Then only I can help

Attachments


enyoyx-hq

The guys at bluehost just reached out to say I should wait for the propagation to be complete even when it indicates from DNS checker that it's all complete

clashing
FREETop 1% Contributor

2 days ago

When you type the domain URI in the browser, it shows the website contents (default page) because for https & http calls, ports 443 & 80 are used (the railway app might be serving on a different port).

So, even if DNS propagation takes time, you can always check with POSTMAN regarding whether your code is working fine or not!! And as of now, its showing a 404 error for your railway deployment


enyoyx-hq
HOBBY

2 days ago

It's basically a landing page deployed from a github repo to railway.


clashing
FREETop 1% Contributor

2 days ago

Please provide the screenshot of the railway service like this, and also the Github repo link (later you can edit the same, to hide it from the chat)

Attachments


enyoyx-hq
HOBBY

2 days ago

Here's it.

Attachments


enyoyx-hq
HOBBY

2 days ago

Here's the github repo


clashing
FREETop 1% Contributor

2 days ago

Thanks, got the issue. You can use the custom domain only when the Railway UI shows that the DNS record has been fetched and is pointing to your desired one. For my case, I was using a custom domain, and it was super fast to get updated.

By the way, did you add the correct CNAME DNS record at your domain-end (the @ record)? As proposed by the Bluehost guy, you should wait till the DNS setup/transfer is completely done.

Acc to the docs: https://docs.railway.com/guides/public-networking#add-a-custom-domain, you can only use the custom domain when the status of it would be green/verified.

Attachments


enyoyx-hq
HOBBY

2 days ago

Yes I added the record correctly.

I guess I have to wait then


enyoyx-hq

Yes I added the record correctly.I guess I have to wait then

2 days ago

You have not added the www subdomain to Railway yet. You currently only have the root domain set. Your www subdomain is not going to work if you don't set it up on Railway.


brody

You have not added the www subdomain to Railway yet. You currently only have the root domain set. Your www subdomain is not going to work if you don't set it up on Railway.

enyoyx-hq
HOBBY

2 days ago

Any direct way to achieve this?


brody

You have not added the www subdomain to Railway yet. You currently only have the root domain set. Your www subdomain is not going to work if you don't set it up on Railway.

enyoyx-hq
HOBBY

2 days ago

Like I do not have any sub domain.

Just tryenvoyx.com


2 days ago

Right, you need to add your www subdomain to Railway.


brody

Right, you need to add your www subdomain to Railway.

clashing
FREETop 1% Contributor

2 days ago

Yup, remove the current DNS configurations from Bluehost and Railway custom domain settings. Then add www.tryenvoyx.comas the custom domain, followed by DNS additions in Bluehost. That would resolve the issue.

Under the advanced settings of your current domain, it says the same

Attachments


clashing

Yup, remove the current DNS configurations from Bluehost and Railway custom domain settings. Then add www.tryenvoyx.comas the custom domain, followed by DNS additions in Bluehost. That would resolve the issue.Under the advanced settings of your current domain, it says the same

2 days ago

The user does not need to remove anything from Railway because they have not added the www subdomain to Railway to begin with.


clashing

Yup, remove the current DNS configurations from Bluehost and Railway custom domain settings. Then add www.tryenvoyx.comas the custom domain, followed by DNS additions in Bluehost. That would resolve the issue.Under the advanced settings of your current domain, it says the same

enyoyx-hq
HOBBY

2 days ago

Let me confirm

Attachments


clashing
FREETop 1% Contributor

2 days ago

Now, the URL is working, enyoyx-hq


enyoyx-hq
HOBBY

2 days ago

Yes man!

Thanks for the assistance.

You guys are super responsive


Status changed to Solved brody 2 days ago