Setting up naked domain on Google Domains
My understanding is that I need to create a new A record that points to the sites IP address. Where do I find the IP address? I used 104.196.232.237 which leads to Railway but not the website...
7 Replies
Project ID:
c2e331c2-ea7f-464b-a226-1f92b6e0c6b1
No search results found.
⚠️ experimental feature
c2e331c2-ea7f-464b-a226-1f92b6e0c6b1
Website is www.donadogs.org/en
Nothing Here, Yet
This domain is available to use***
https://docs.railway.app/deploy/exposing-your-app
There are notes about Google here
Synthetic records no longer exists in Gooogle domains
All the old answers point to that but it was removed
Now I see this as an answer:
To fix this, you'll need to set up an additional "A" record in Google Domains that points your naked domain to the IP address of your web server. Here's how you can do this:
Log in to your Google Domains account.
Select the domain you want to set up.
Go to the "Configure DNS" page for your domain.
Scroll down to "Custom resource records".
Click "Add" button
In the "Name" field, leave it blank. This will set up the A record for the naked domain.
In the "Type" field, select "A"
In the "TTL" field, you can leave it as default
In the "Data" field, enter the IP address of your web server as provided by Railway.
Click "Add"
But I don't know what IP address to use
And I can't see an IP address anywhere on Railway
Your project doesn’t have a static ip address. It will change with each redeploy
there is no way to retrieve the IP
someone that knows more about custom domains will help you out with a workaround, but that’s just my two cents
I think the current best practice is to set up your domain with cloudflare
I heard back from google support. They said I should use the forwarding feature and that synthetic records is no longer a thing. So it all works now.