Required DNS record to redirect to another domain.

shiromys
HOBBY

8 days ago

I am unable to find the DNS records (including the IPv4) of the records for the Railway hosted application. Can you help me out in determining the values so that I can redirect the domain to an external hosting provider.

$10 Bounty

4 Replies

8 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 8 days ago


Can you give me more info on "redirecting domain to external hosting provider"? Railway does not manage your domain it only hosts the product and accepts requests coming in.
Where did you purchased your domain, namecheap, porkbun, godaddy etc?
Are you going through cloudflare?


error

Can you give me more info on "redirecting domain to external hosting provider"? Railway does not manage your domain it only hosts the product and accepts requests coming in. Where did you purchased your domain, namecheap, porkbun, godaddy etc?Are you going through cloudflare?

shiromys
HOBBY

7 days ago

Thank you for the response. External hosting provider I meant was "HostGator". We have hosted the domain "instantresumeai.com" on HostGator. We want to map the DNS of HostGator to the Railway's deployed application. We have obtained the custom URL from Railway - we have also mapped that URL to the DNS records of HostGator. However, we need the IP address of the custom domain obtained so as to map the A record to our hosting provider.


shiromys

Thank you for the response. External hosting provider I meant was "HostGator". We have hosted the domain "instantresumeai.com" on HostGator. We want to map the DNS of HostGator to the Railway's deployed application. We have obtained the custom URL from Railway - we have also mapped that URL to the DNS records of HostGator. However, we need the IP address of the custom domain obtained so as to map the A record to our hosting provider.

I dont think railway provides a static IP per service. You would have to CNAME to the custom address at Railway. https://www.cloudflare.com/learning/dns/dns-records/dns-cname-record/


shiromys

Thank you for the response. External hosting provider I meant was "HostGator". We have hosted the domain "instantresumeai.com" on HostGator. We want to map the DNS of HostGator to the Railway's deployed application. We have obtained the custom URL from Railway - we have also mapped that URL to the DNS records of HostGator. However, we need the IP address of the custom domain obtained so as to map the A record to our hosting provider.

smolpaw
HOBBYTop 5% Contributor

7 days ago

You need to add a CNAME record as the actual ip address is always changing.

Go to public networking and click Custom domain, add instantresumeai.com with the correct application port, and that will generate a CNAME record which you need to create on Hostgator.
They have a blog here about adding DNS records (also CNAME) : https://www.hostgator.com/help/article/how-to-change-dns-zones-mx-cname-and-a-records
Follow that, give it few hours