Getting custom domain working without www
Hi, i'm not totally sure this is a specific Railway issue but any help is much appreciated. I have a 123Reg cutom domain which works great with www, but I can't get it to work without, it just redirects to a 123reg holding page. I raised a ticket with 123Reg and they have been next to useless. There is nothing specific in the Railway docs. Any help?
id - 1b555e82-d5b7-4d50-b9de-354684ce6be6
7 Replies
Project ID:
1b555e82-d5b7-4d50-b9de-354684ce6be6
You might find these helpful:
- Godaddy custom domain for Railway.app
- Custom Domain Issue
- How do I use a custom domain name on Railway?
⚠️ experimental feature
hmmm, make sure you have a CNAME record set at the root of your domain that points to your deployment
Ok ill take a look at those points. Sure I have tried a CNAME without www.
My current CNAM is */CNAME/railway address , I assumed the * would take www or a naked domain.
This was the rply from 123 when I inquired there.
*
Thanks for sharing that with me. You will need to contact your hosting provider, and ask them for the correct DNS records, so that you domain points correctly.
Once you have the correct DNS, you will need to edit the current A records found in your 123 Reg > Manage Domain.*
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I get a 403 wen i try web forwarding
Ok, think i've sorted this problem (sorry first time dealing with custom domains). I had to do a DNS lookup using the www/Foodomain and then copy the IP address into my A Name record. Then I've added */Foodomain and www/Foodomain as CNAME records and then add them as custom domains in my Railway projects settings. There was a bit of delay for SSL but all seems to be working now. Thanks for the help.
Can you confirm this solved your issue? I've got the same issue atm.