domain

Manage Railway service domains via CLI and GraphQL operations.

1|1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/0xHoneyJar/loa-constructs --skill domain-0xhoneyjar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain
Source: https://github.com/0xHoneyJar/loa-constructs/tree/main/.agents/skills/domain
Command: npx skills add https://github.com/0xHoneyJar/loa-constructs --skill domain-0xhoneyjar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill centralizes and automates the lifecycle of service domains on Railway, including adding, generating, validating, and removing domains to ensure proper routing and DNS configuration.

Core Features & Use Cases

  • Add Railway-provided or custom domains to services.
  • Generate a domain for a specific service and retrieve DNS records.
  • Read current domains and inspect service networking configuration.
  • Remove domains when a service is decommissioned or domain changes are required.

Quick Start

Add a domain to a service and retrieve the DNS records needed to complete the setup.

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 and get the DNS records?

To add a custom domain to a Railway service, you can use specific commands to link the domain and automatically retrieve the required DNS records needed to verify ownership and route traffic.

What is the process to generate a Railway-provided domain for my service?

Generating a Railway-provided domain involves triggering a domain generation command for your specific service, which automatically provisions the domain and links it to your service's networking configuration.

How do I list and verify existing domains configured across my Railway environments?

You can list and verify existing domains by reading the current service networking configuration, allowing you to inspect all domains attached to a service across your various Railway environments.

What is the best way to remove a domain from a Railway service?

The best way to remove a domain from a Railway service is by executing a remove operation, which utilizes JSON payloads to cleanly unlink and delete the domain from the service configuration.

Does Railway handle both adding and generating domains for services automatically?

Yes, Railway automates the entire domain lifecycle for services, supporting both adding custom domains and generating Railway-provided domains through CLI and GraphQL interactions.