8 days ago
Hello,
I’m experiencing an issue with connecting my custom domain popolnenie.kz to my Railway project.
Here are the details:
• I’ve set the custom domain to popolnenie.kz in Railway.
• DNS records have been added:
www.popolnenie.kz → CNAME → 4thw6ekv.up.railway.app.
• For popolnenie.kz, an A record pointing to 174.129.25.170 is resolving in some regions.
• However, the Railway dashboard status keeps switching between “Completed” and “Waiting for DNS update”, even after many hours.
• Additionally, DNS propagation results vary across regions (some resolve to ns1.ps.kz, others to ns1.tildadns.com), which causes inconsistency.
I’d appreciate any help in identifying whether there is a misconfiguration on my side, or if there’s something else blocking the domain from connecting properly.
7 Replies
8 days ago
Hey there! We've found the following might help you get unblocked faster:
🧵 "Custom domain stuck on 'Waiting for DNS update' (Hostinger, root domain)"
🧵 Using GoDaddy Subdomain (CNAME) with Railway to Resolve ISP DNS Issue?
If you find the answer from one of these, please let us know by solving the thread!
8 days ago
I have already set up a custom domain, and it is working fine for every region.
Note: Always use a subdomain for the custom domains, because if not used, then your main domain will always point to the railway-hosted service, which no one wants (and no cloud provider allows you to tell the root-level domain to other services), and it poses issues in doing so (which is happening in your case)
Follow these steps:
a. Make sure that you map the correct port to the custom domain while configuring it.
b. Once it says that "the domain is available", you can click the add button.
c. Then it will show you the CNAME that has to be added for the subdomain (in your case).
d. Then open your GoDaddy settings, where you can DNS settings (something like DNS Zone Editor, under the Advanced settings).
Ensure that you choose 'CNAME' as the type in the editor, and the name will be the subdomain name, along with the value pointing to the railway servers.
NOTE: Before adding this CNAME property for the subdomain, ensure that there are no "A/AAA/CNAME" DNS values set for it, unless the new one is to be added. Delete the already existing entries for the subdomain, and then add what is shown in the Railway dashboard.
Then, after a couple of minutes, the subdomain would be verified, which would be shown by the tick inside the service's networking settings.
Note that the DNS take about 72 hours to affect each region. So, initially, when it is verified, you won't be able to see the railway server results when you open the custom domain link (as it still uses the https/http port number 443/80), and your railway service must be listening to any other port mentioned by you in the code file.
So, to test whether the same has been updated or not, you can do a fetch request from POSTMAN to your custom-domain URL, as it uses your defined port only.
I hope that helps you
4 days ago
Any progress, zhakasov-bm
4 days ago
See that you added the custom domain as www.popolnenie.kz and not just popolnenie.kz in railway.
Also see that you have selected the right port, when you add in your custom domain.
clashing
I have already set up a custom domain, and it is working fine for every region.Note: Always use a subdomain for the custom domains, because if not used, then your main domain will always point to the railway-hosted service, which no one wants (and no cloud provider allows you to tell the root-level domain to other services), and it poses issues in doing so (which is happening in your case)Follow these steps:a. Make sure that you map the correct port to the custom domain while configuring it.b. Once it says that "the domain is available", you can click the add button.c. Then it will show you the CNAME that has to be added for the subdomain (in your case).d. Then open your GoDaddy settings, where you can DNS settings (something like DNS Zone Editor, under the Advanced settings).Ensure that you choose 'CNAME' as the type in the editor, and the name will be the subdomain name, along with the value pointing to the railway servers.NOTE: Before adding this CNAME property for the subdomain, ensure that there are no "A/AAA/CNAME" DNS values set for it, unless the new one is to be added. Delete the already existing entries for the subdomain, and then add what is shown in the Railway dashboard.Then, after a couple of minutes, the subdomain would be verified, which would be shown by the tick inside the service's networking settings.Note that the DNS take about 72 hours to affect each region. So, initially, when it is verified, you won't be able to see the railway server results when you open the custom domain link (as it still uses the https/http port number 443/80), and your railway service must be listening to any other port mentioned by you in the code file.So, to test whether the same has been updated or not, you can do a fetch request from POSTMAN to your custom-domain URL, as it uses your defined port only.I hope that helps you
2 hours ago
zhakasov-bm, if my first reply helped you in getting the doubts clear, please mark that as the solution
clashing
I have already set up a custom domain, and it is working fine for every region.Note: Always use a subdomain for the custom domains, because if not used, then your main domain will always point to the railway-hosted service, which no one wants (and no cloud provider allows you to tell the root-level domain to other services), and it poses issues in doing so (which is happening in your case)Follow these steps:a. Make sure that you map the correct port to the custom domain while configuring it.b. Once it says that "the domain is available", you can click the add button.c. Then it will show you the CNAME that has to be added for the subdomain (in your case).d. Then open your GoDaddy settings, where you can DNS settings (something like DNS Zone Editor, under the Advanced settings).Ensure that you choose 'CNAME' as the type in the editor, and the name will be the subdomain name, along with the value pointing to the railway servers.NOTE: Before adding this CNAME property for the subdomain, ensure that there are no "A/AAA/CNAME" DNS values set for it, unless the new one is to be added. Delete the already existing entries for the subdomain, and then add what is shown in the Railway dashboard.Then, after a couple of minutes, the subdomain would be verified, which would be shown by the tick inside the service's networking settings.Note that the DNS take about 72 hours to affect each region. So, initially, when it is verified, you won't be able to see the railway server results when you open the custom domain link (as it still uses the https/http port number 443/80), and your railway service must be listening to any other port mentioned by you in the code file.So, to test whether the same has been updated or not, you can do a fetch request from POSTMAN to your custom-domain URL, as it uses your defined port only.I hope that helps you
2 hours ago
thank you
zhakasov-bm
thank you
2 hours ago
Thanks a lot, for doing that
Status changed to Solved brody • about 1 hour ago