Static IPs for Root Domain Hosting
asharibali
PROOP

18 days ago

Problem:
Railway's custom domain setup requires adding a CNAME record pointing the root domain (@) to a Railway-provided hostname (e.g., asharib.up.railway.app).

However, many popular DNS providers like Hostinger, Digital Ocean (in my case), do not support CNAME records at the apex/root level due to DNS standards.

This forces users (especially me, I was exhausted) to either:

  • Switch DNS providers (e.g., to Cloudflare) for CNAME flattening/ALIAS support.

  • Use only subdomains (www) with forwarding, which is suboptimal for SEO and branding.

  • Abandon Railway for hosting.

This limits Railway's accessibility for users on restrictive DNS platforms.

Proposed Solutions:

  1. Provide static public IPv4/IPv6 addresses for projects, allowing direct A/AAAA records for root domains.

  2. Native support for apex domains via Railway-managed DNS proxy or flattening service.

  3. Guided setup wizard in the dashboard that detects DNS provider limitations and suggests workarounds (e.g., subdomain + forwarding instructions).

This would make Railway more user-friendly and competitive for production deployments.

Priority: High (affects root domain hosting for ~30-50% of DNS providers).

Under Review

0 Threads mention this feature

0 Replies

Loading...