Railway Domain
Manage Railway service domains by adding, viewing, or removing custom and generated URLs.
- CCM score
- 69 of 100
- skills.sh installs
- 275
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers adding a domain, generating a Railway-provided domain, listing current domains, reading a service URL, and removing a domain
- Designed for users who need to configure how a Railway service is reached over the web
Install
$ npx -y skills add davila7/claude-code-templates --skill railway-domain -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Railway Domain Management
Add, view, or remove domains for Railway services.
When to Use
- User asks to "add a domain", "generate a domain", "get a URL"
- User wants to add a custom domain
- User asks "what's the URL for my service"
- User wants to remove a domain
Add Railway Domain
Generate a railway-provided domain (max 1 per service):
railway domain --json
For a specific service:
railway domain --json --service backend
Response
Returns the generated domain URL. Service must have a deployment.
Add Custom Domain
railway domain example.com --json
Response
Returns required DNS records:
{
"domain": "example.com",
"dnsRecords": [
{ "type": "CNAME", "host": "@", "value": "..." }
]
}
Tell user to add these records to their DNS provider.
Read Current Domains
Use railway-environment skill to see configured domains, or query directly:
query domains($envId: String!) {
environment(id: $envId) {
config(decryptVariables: false)
}
}
Domains are in config.services.<serviceId>.networking:
serviceDomains- Railway-provided domainscustomDomains- User-provided domains
Details
- Repository
- github.com/davila7/claude-code-templates
- Category
- DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the railway-domain skill do?
railway-domain adds, views, or removes domains for Railway services. It can generate a Railway-provided domain with railway domain --json, add a custom domain by returning the DNS records to set at your provider, and read or remove existing domains through the railway-environment skill.
How do I install the railway-domain skill?
Run npx -y skills add davila7/claude-code-templates --skill railway-domain -y in a project to install it. Once installed, railway-domain lets the agent handle requests to add a domain, generate a railway domain, or get the URL for a service.
What does railway-domain need before it works?
railway-domain needs the Railway CLI, listed as its dependency, and a linked service or a --service flag to choose the target. A railway-provided domain also requires the service to have a deployment, so run railway up first.
Can railway-domain add a custom domain like example.com?
Yes, railway-domain runs railway domain with your domain name and returns the DNS records you must add at your DNS provider. Its CLI also takes a port flag, so you can set which port the domain connects to.
More from davila7/claude-code-templates
All 398- Gene Database272
- File Uploads270
- Uniprot Database269
- Ethical Hacking Methodology266
- Simpy265
- Concise Planning264
- Metabolomics Workbench Database264
- Pentest Commands264
- Diffdock262
- Clinpgx Database261
- Tavily Web261
- Geo Fundamentals259
- Gget259
- Shopify Apps255
- String Database255
- Clinvar Database254
- Reactome Database252
- Postgres Schema Design251
- Core Components249
- Scvi Tools249
- Obsidian Clipper Template Creator247
- PDF Processing247
- Dask246
- Denario246
Similar to Railway Domain
More DevOps & Cloudrailway-serviceSkilldavila7/claude-code-templates282 installsStatus checks, renames, icon and link changes, and Docker-image service creation for Railway projects.
railway-environmentSkilldavila7/claude-code-templates282 installsQuery, stage, and apply Railway environment configuration changes, covering variables and service settings.
vercel-networking-domainsSkillbobmatnyc/claude-mpm-skills363 installsVercel networking reference for domains, DNS, redirects, rewrites, headers, CDN, edge cache, and regions.
hostingerPluginanthropics/knowledge-work-plugins36.8K starsDeploy, manage and monitor Hostinger services — Websites, Domains, Ecommerce, Email Marketing, Subscriptions & Payments, and VPS. Authenticate via browser (OAut
Unique.domainsMCP serveruniquedomainsRead-only access to Unique.domains: domain availability, registry records, prices, and market data for one-word names.