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
Percy
Percy14mo ago
Project ID: b5c2da31-6490-410f-9a6b-6fafa1ef1379
blackswan
blackswan14mo ago
b5c2da31-6490-410f-9a6b-6fafa1ef1379
Brody
Brody14mo ago
there isn't, go wild
blackswan
blackswan14mo ago
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?
Brody
Brody14mo ago
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
Want results from more Discord servers?
Add your server