Setting up Railway with an owns.it.com subdomain
This guide will walk you through the process of setting up a Railway deployment and pointing your owns.it.com subdomain towards it.Get the CNAME Record
First, you’ll need to get the CNAME record from Railway:- Go to the Railway dashboard
- Navigate to your project
- Select your service
- Switch to the Settings tab
- Click the + Custom Domain button
- Enter your owns.it.com subdomain
- Copy the Value field provided by Railway
Create the Domain File
Create a JSON file inside the domains directory (domains/subdomain.json
) with the following content and submit a pull request:
your-github-username
with your GitHub username[email protected]
with your email addressthe-value-railway-gave-you
with the CNAME value you copied from Railway
Your website should be live!
After your pull request has been merged, your website should be accessible at your owns.it.com subdomain. The process may take a few minutes for DNS changes to propagate.Troubleshooting
If your site isn’t working:- Check that your domain file is correctly formatted
- Verify that the CNAME record matches exactly what Railway provided
- Confirm that your domain is properly added in Railway’s settings
- Wait for DNS changes to propagate (this can take up to 48 hours)
- Check that your Railway service is running correctly
- Verify your Railway service is still active
- Check that the custom domain is properly configured in Railway
- Create an issue for support if problems persist
Need More Help?
For additional assistance:- Visit the Railway Documentation
- Check the Railway Support
- Contact Railway Support Team