domain

Add and remove Railway domains for services via the Railway CLI.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ArthTech-AI/Marketplace-extensions --skill domain-arthtech-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain
Source: https://github.com/ArthTech-AI/Marketplace-extensions/tree/main/skills/railway/domain
Command: npx skills add https://github.com/ArthTech-AI/Marketplace-extensions --skill domain-arthtech-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the guesswork and manual CLI work involved in managing service domains on Railway, making it easier to expose apps, update DNS, and find the correct public URL for a service.

Core Features & Use Cases

  • Add Railway-provided domains: Generate a Railway domain for a linked service when you need a quick public endpoint.
  • Add and remove custom domains: Get the DNS records needed for a custom domain and remove it later through Railway environment updates.
  • Inspect service URLs: Check existing domain configuration to answer “what is the URL for my service?” without hunting through settings.
  • Use Case: A developer finishes deploying an API and uses this Skill to create a public domain, confirm the live URL, and later swap in a custom company domain.

Quick Start

Ask the domain skill to add a Railway domain to the selected service or return the current public URL for it.

Frequently Asked Questions about domain

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

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

To add a Railway domain to your deployed service, the Skill uses the Railway CLI to generate a Railway-provided domain and applies environment configuration patches to create the network entry. It validates service selection and deployment status before exposing the public endpoint.

How can I find the public URL for my Railway service?

To find the public URL for your Railway service, the Skill inspects existing domain configurations and returns the current service URL. It checks the domain inventory within your Railway project so you do not have to hunt through project settings manually.

How do I configure a custom domain on Railway and get the DNS records?

To configure a custom domain on Railway, the Skill adds the custom domain to your service and retrieves the required DNS records. It validates the domain format and uses environment configuration patches to ensure the custom network entry is correctly linked.

Can I remove a custom domain from a Railway service using the CLI?

Yes, you can remove a custom domain from a Railway service using the CLI. The Skill processes domain removal by applying environment configuration patches to delete the network entry, validating the service selection and domain format before removing the custom domain.

Does this domain management approach work with unlinked Railway services?

No, domain management requires a linked service with a valid deployment status. The Skill validates service selection and checks deployment status before creating, inspecting, or deleting Railway domains to ensure the environment configuration patches apply correctly.