domain

Add, view, or remove Railway domains for services via CLI operations.

303|36|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/railwayapp/railway-skills --skill domain-railwayapp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain
Source: https://github.com/railwayapp/railway-skills/tree/main/plugins/railway/skills/domain
Command: npx skills add https://github.com/railwayapp/railway-skills --skill domain-railwayapp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Managing domains for Railway services can be error-prone and repetitive; developers need an easy way to add, view, generate, or remove domains and retrieve service URLs.

Core Features & Use Cases

  • Add the Railway-provided domain to a service (generate a domain)
  • Add a custom domain and obtain the necessary DNS records
  • Read current domains for a service via environment config or GraphQL
  • Remove a domain from a service and apply changes

Quick Start

Provide a domain action for a linked service, for example, add a railway-provided domain to the backend service.

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 a Railway service?

To add a custom domain to a Railway service, you initiate the custom domain attachment process and the system provides the specific DNS records needed. You must configure these DNS records with your provider to route traffic successfully.

Can I retrieve service URLs for multiple Railway deployments?

Yes, you can retrieve service URLs for multiple Railway deployments. The tool queries current domains and retrieves service URLs across multiple services simultaneously, simplifying access to active deployment endpoints.

What is the best way to view current Railway domains for a service?

The best way to view current Railway domains for a service is by querying them via environment configuration or GraphQL. This approach reads existing domain mappings directly from the active service environment.

How do I remove a domain from a Railway service and apply changes?

To remove a domain from a Railway service, you target the specific linked domain for deletion and apply the environment changes. The system validates inputs and permissions before permanently removing the domain configuration.

Does generating a Railway domain require manual DNS configuration?

Generating a Railway-provided domain does not require manual DNS configuration because the platform handles routing automatically. You only need to manage DNS records when attaching a custom domain to your service.