R
Railway

✋|help

DNS settings not being accepted by domain host.

Aatomicpunk818/26/2023
I'm finalizing a deployment of a React.js frontend only site, I got the green confirmation of the site deployment. However, when attempting to add a custom domain, I copy the DNS record into GoDaddy's DNS management portal for the domain and get an error of *Record data is invalid. But I am applying what has been given to me from railway. Any Idea where I could be going wrong?
Aatomicpunk818/26/2023
Project ID: f5849cc1-7df8-4e85-9dff-f40e4c3c4640
Bbrody1928/26/2023
godaddy does not support root level cnames, you would need to use cloudflares nameservers, and they have a guide for that here
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
hey just wanting to check back, where you able to get this all working?
Aatomicpunk818/27/2023
Hey Brody, thanks for checking in, I was able to get a new domain through cloudflare and configure it to work with railway. I had a secondary issue in my deployment due to my webpack.config.js & package.json files, had to reconfigure the dependancies and restructure some of the files with some help

I got it up and running and also just did the nameservers to use the domain I have from godaddy also.

My site is deployed with the railway domain, im just waiting for the custom domain to take hold now.
Bbrody1928/27/2023
how long has it been since you setup your custom domain?
Aatomicpunk818/27/2023
officially, it was deployed at around 11 pm PST, with a custom domain, and a secondary custom domain with an updated nameserver through cloudflare.
for reference: standard railway domain: myportfoliowebsite-production.up.railway.app

both custom domains abe-flores.com & abe-flores.net, they haven't been compiled yet. I was told by a colleague that it may take a day or so, so i'm going to wait before attempting to debug what is happening with the domain

EDIT: Issue fixed!
Ssambhavgore8/27/2023
@atomicpunk when I used Cloudflare, I had to set the encryption mode to Full to make it work correctly:
Ssambhavgore8/27/2023
generally speaking, pointing cloudflare domain to Railway is pretty quick (under 10 mins for me).
Aatomicpunk818/27/2023
interesting, I'll give this a look right away and see if there are any changes
that was the issue! domains are live now. Thanks @sambhav
Ssambhavgore8/27/2023
👍
Bbrody1928/27/2023
haha beat me to it, thank you sambhav!

Looking for more? Join the community!

Recommended Posts
Winston logs not appearing in deployment logsIn my node.js deployment if I do a console.log it appears normally in deployment logs, but using windeploy logs say nuxt "start" is an unknown command. Production and development sites both crashed.😫CMD Line accessI freaking swear I hate this so much I JUST WANT TO BE ABLE TO USE THE COMMAND LINE <:sadcat:7868689Laravel cron jobsHow can I run php artisan schedule:work every minute?Postgres drops connection when inactive, is this by default?I'm developing a node app using AdonisJS@5 and on a prolonged inactivity period (more than 5 hours) Fontconfig to canvasHi, I've been using the node-canvas in default railway when I use that, only libuuid and libGL are ivolumehey guys! quick question, I've got a golang project. I need it to create a json file on railway and system ran out of memoryCan someone help me? When I try to run my react app i get this error message. > tuya_react_frontend@Litestar command not foundHey all apologies for the possibly silly question. I am looking to deploy this repo: https://github.save temporary archivesCan i save temporary pdfs to a back-end host ? I'm trying to save a pdf file from a client upload bHow to host websockets?This is my first time hosting socket server, how can i do that on railway? I docs there are only webI cannot use opencv2 and received ImportError: libgl.so.1 cannot open shared object file no such filCan anyone help me with that ??LibreofficeHi I need libreoffice installed to use in my code. I attempted using the below nixpacks.toml ``` [Random app crash, no logs or other indicatorWhen trying my healtcheck I get random crashes, no recent deploy was made, I don't see any logs on mModify build commandHow would I modify the build command so it does a pip install of `psycopg2` ? I was told to remove tPayment method removalHey, how do I remove my payment method? I opted in for a credit subscriptions but still see my crediDeploying crashedHello, i'm facing a problem when deploying my spring boot application to railway, my application worInternal server error when accessing TypebotI noticed that since yesterday the new installations with the Typebot template present the error IntRAILWAY_PUBLIC_DOMAIN replaces RAILWAY_STATIC_URLHi team, we've been hunting down a bug with our app today, occurring on many PR Environments and it'My Subscription issueHello dear support guys: I found that I have been downgraded to No Subscription.. If my memory is r