R
Railway

✋|help

Wildcard DNS let user custom there domain

Rromeo42659/18/2023
I would like to know how to let's my users custom domain with CNAME to my domain

DNS my DOMAIN
CNAME
*
something.up.railway.app

CNAME
mydomain.com
1something.up.railway.app

User DOMAIN
CNAME
support
mydomain.com or support.mydomain.com

BUT ALWAYS 404 on support.userdomain.com
BUT IT'S WORK on support.mydomain.com
Rromeo42659/18/2023
7b2a0982-02e7-4038-85a0-541c968dcf40
BBrody9/18/2023
can you please provide real domains?
Rromeo42659/18/2023
unclelife.co now *.unclelife.co it's not work
BBrody9/18/2023
sorry railway does not yet support this usecase since they do their routing based on the host, but if your user makes a request from their domain the host will not exist in railways router and you will get a 404
youd have to do some host masking with cloudflare or something along that line
Rromeo42659/18/2023
Thank you.

Looking for more? Join the community!

Recommended Posts
Bun with turborepo supportHey guys, Just switched over to bun from fastify but having some trouble setting it up properly to How does pro plan upgrade works for application? particularly Spring boot app...Hi all, I find it difficult to understand how pro plan upgrade works. I upgraded my Spring boot app Deploying Rust tries to copy binaries that don't exist.I'm not using my own nixpacks.toml, and railway is attempting to copy binaries that it doesn't need Cron skipingSo my Cron Schedule keeps skipping every time?Request to free up custom domainMy project id : 5df73bd5-7d04-40dd-9e57-97f1cdd89a60 Can u pls delete the given custom domain, it sPR PreviewsHi everyone. Is it possible to setup PR previews with it's own set of environment variables?Looking for way to run LibreTranslate as a service on railwayI'm looking for a way to run https://libretranslate.com on my railway instance. Ideally it would beRTT to nearby datacenter has gone way up in the past few daysRegions have been amazing and are super helpful for our use case. We host our database in AWS us-easPublishing .net 7 app - project file not foundHi, I'm new in railway and i'm faced with file structure problem. I heared that way to publish is sIssue with staging: The value needs to be expressed as a valid JSON string.i'm trying to make a dev and product env's, but now i created a service on the dev env and trying toIssue with staging: The value needs to be expressed as a valid JSON string.i'm trying to make a dev and product env's, but now i created a service on the dev env and trying toUse Volume with grafana will permission deniedI was configed volume and data path, but when i start my grafana, it will crash. This is log: Error:if i disconect an account of github ?whats going on with the repository are linking with this account ? fb928ae2-62f0-4f8f-be68-9f7902efCommunication between projects without requestsHey everyone, a question. Is it possible to establish communication between projects? For example, Ihow to setup webhooks?Hey guys I'm looking for how to setup a deploy webhook similar to vercel for my website with sanity.Template services in forked environment not deployingHi! When I create a new environment from the base one the two services, that I created from a templaHow can I update the file permissions inside a railway development instance?I receive this error: "PermissionError: [Errno 13] Permission denied: './src/engines/komodo-14/LinudockerIs it possible to use commands or access through a terminal a docker image? I have a Docker image of