Domains limit?
Is there a limit to the number of custom domains there can be attached to a deployment?
My use case is a deployment that is a theme engine for multiple hosted websites.
I’d like to programmatically add domains and have ideally an unlimited amount that can be attached to the deployment.
Routing and business logic is handled on my server side, I just need the domains to map to the correct deployment.
5 Replies
Project ID:
b5c2da31-6490-410f-9a6b-6fafa1ef1379
b5c2da31-6490-410f-9a6b-6fafa1ef1379
there isn't, go wild
Awesome. Is there an API to add domains to a deployment?
Or can I just point the CNAME and A record to the same IP/URI?
railway doesn't use A records or IP addresses for anything, if you use A records or IP addresses when setting up a domain stuff will break eventually.
but yes there is an api that can do this
https://docs.railway.app/reference/public-api