domain

Manage Railway service domains with the Railway CLI.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/habrahgithub/node-backend-starter --skill domain-habrahgithub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain
Source: https://github.com/habrahgithub/node-backend-starter/tree/main/.codex/skills/railway-domain
Command: npx skills add https://github.com/habrahgithub/node-backend-starter --skill domain-habrahgithub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Railway users need to manage service domains across deployments, including generating railway-provided domains, adding custom domains, viewing current domains, and retrieving service URLs.

Core Features & Use Cases

  • Generate a railway-provided domain (one per service)
  • Add custom domains with DNS records
  • Read current domains for a service
  • Retrieve the public URL for a service
  • Remove domains when no longer needed

Quick Start

Add a domain to my Railway service and retrieve the assigned domain URL.

Frequently Asked Questions about domain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a custom domain to my Railway service?

To add a custom domain to a Railway service, the skill configures the domain on the service and provides the corresponding DNS records needed for verification. It applies these changes directly via the Railway CLI.

Can I generate a Railway-provided URL for my deployment?

Yes, you can generate a Railway-provided domain URL for your deployment. The skill creates one railway-provided domain per service, allowing you to retrieve the public URL for accessing your application.

How do I list and read current domains configured for a Railway deployment?

You can read current domains for a Railway deployment by retrieving the service configuration. The skill reads existing domains from the environment or config to list active service URLs across development and production environments.

How do I remove an outdated domain from a Railway service?

To remove an outdated domain from a Railway service, the skill applies deletion changes via the Railway CLI and environment configuration. This cleans up outdated domains across your development and production environments.

Do I need the Railway CLI to manage service domains?

Yes, the Railway CLI is required to manage service domains. The skill applies domain additions, removals, and configuration changes by executing commands through the Railway CLI and environment setup.

What is the best way to manage DNS records when adding domains to Railway?

The best way to manage DNS records for Railway domains is by adding a custom domain through the service, which automatically provides the corresponding DNS records needed. The skill handles this configuration via the Railway CLI.