R
Railway

✋|help

Custom domain with A record (not CNAME record)

PPEgaz8/28/2023
Hi,
I want to add a custom domain in one of my projects.
Docs says I need to add a CNAME record in my provider. Unfortunately it's not a subdomain but main domain and my provider told me I need to use A record instead of CNAME ... so I wanted to do it, but ... record A needs IP address to be inserted, not an address.
So please help me what IP address I need to provide ?

project ID: a6c82679-0cee-4169-9d24-90060e2cc48a

Looking forward to your help
PEgaz
Solution:
you won't be able to use an IP address because the IP address of the deployments are dynamic and shared, and a new deployment has a chance of having a different IP than the last one, this is why you do need to use a CNAME, and you will need to use nameservers that support root level cname aliases, namecheap, cloudflare, dnsimple, etc
Jump to solution
PPEgaz8/28/2023
project ID: a6c82679-0cee-4169-9d24-90060e2cc48a
Solution
Bbrody1928/28/2023
you won't be able to use an IP address because the IP address of the deployments are dynamic and shared, and a new deployment has a chance of having a different IP than the last one, this is why you do need to use a CNAME, and you will need to use nameservers that support root level cname aliases, namecheap, cloudflare, dnsimple, etc
PPEgaz8/28/2023
Thank you for answer. It's a pity, I don't want to have another provider just for one domain only for this purpose 😦 We'll see how it goes, thanks again.
Bbrody1928/28/2023
oh you dont need to transfer the domain, you only need to use their nameservers

Looking for more? Join the community!

Recommended Posts
Very slow connectionHey, I've built an app that uses Remix, Prisma and Postgres and is hosted in vercel and railway. LoPostgres sql update query inserting "$1" instead of "?"I have a Postgres server and I runned the query: update "Table_name" set("column_name") = ("Column_nInquiry about Next.js SSR and ISR Support on RailwayHello Railway Community 👋, I'm currently exploring the possibility of migrating my Next.js projectPerformance questionsHi all! Does performance between Hobby and Pro plan differs? I'm mostly curious about initial connHow to specify deployment strategy?Hey, previously i'm a fly io user and I want to migrate to Railway. Is it possible to define the deI do not scroll rightWhen I access log and view it but I do not scroll right to sell full logs. Is it a bug of you?Build failed directus api templateI tried to deploy directus app using railway template (Directus api) and it failed every time. Does Network Error While sending a file.I have uploaded my telegram bot on a Railway Pro plan. The bot sends file back to users through Telego-cron jobs not running in railwayHello, so I'm using the go-cron(https://github.com/go-co-op/gocron) library for managing my cron jobpnpm not foundHi! I'm having trouble building my app, and haven't had success with any of the suggestions with othDo you guys have prepaid options?Say I pay 5$ once and I get to use those 5$ worth of resources all year round. I'd rather do that thChange Heroku to RailwayI need more info because I have a problem with Heroku with my hosted proyect there WebSocket doesnt I am getting this error on my deployment```console GET failed with status code 403 (a proxy could be disallowing the use of 'Upgrade: derp')Flask app wont work with port 0.0.0.0application not respondingmemory usage doesn't decreasememory usage of one of my python processes was instantly increased to ~2700 mb, it was my mistake, bAutomated Postgres backup onto a volume ?Since now the project I was developing for a while is almost ready for production, we need to make s