Need help setting up A record on Google Cloud

google domains a record already in use
a record for google sites
google dns records
google domains add www
google sites redirect without www
google mx records
g suite mx records
google txt record lookup

So I have a website hosted on Google Cloud and I bought the domain name from GoDaddy, the www.blakemining.com version of the website works just fine however if you type in blakemining.com, it doesnt work. I called GoDaddy and they said that I need to set my A record to the IP address of the website in order to have that working. How do I get the IP address of my website? I tried a few things that I found online but none of them seem to have given me the right IP address.

This is what I have added to the records set on top of whats there by default

blakemining.com. A 300 172.217.4.144

www.blakemining.com. CNAME 300 c.storage.googleapis.com.

Your Cloud Storage Bucket needs to be named "www.blakemining.com" as per the GCS static website documentation. You actually just need the CNAME record.

Configure A records - G Suite Admin Help, If you purchased your domain when you signed up for your G Suite or Google Cloud account: Go to your Google Admin console to access your domain host DNS  Console . To create a record set in the Cloud Console: Go to the Cloud DNS page; Click the name of the managed zone you want to add the record to. On the Zone details screen, click Add record set.

Do you have your website service running from a VM instance at Compute Engine ? if is like this use the command below:

gcloud compute instances describe <instance-name> --zone=<your-instance-zone> | grep -i natip

Command above will show you your external IP

Are you using the Cloud DNS ?

I can not add comments yet :)

About A records - G Suite Admin Help, Set up Meet to help your team work remotely. When using Google Cloud services, you can modify your domain's A records to enable your "naked" domain address. I'm new to configuring A records and need to see the steps for doing so. So I have a website hosted on Google Cloud and I bought the domain name from GoDaddy, the www.blakemining.com version of the website works just fine however if you type in blakemining.com, it doesnt work. I called GoDaddy and they said that I need to set my A record to the IP address of the website in order to have that working.

After reviewing your case description, it seems to me it’s not the issue of setting the A record to the IP address, it seems like a redirect issue about your naked domain (Non-WWW) is not forwarding to your actual domain (with WWW)

To fix this, follow the steps below:

1.Login to your Go Daddy account

  1. Then go to the DNS management of your domain, by clicking ‘Manage,’ then click ‘Manage DNS.’

  2. Check Forwarding and Subdomain > click ‘Add a subdomain.’

4.And a subdomain, write your domain name without the www ( means your naked domain)

  1. And in ‘forward to’ write your domain name here with www ( your actual full domain)

  2. Select forward type to ‘ permanent 301.’

  3. And in settings choose forward only

  4. And save your setting

  5. Wait for 30 mins for your record to get updated, and you will see that your domain will be working without www means your naked domain will work.

If it still not working, then check this [document] on how to configure a Cloud Storage bucket to host a static website for a domain you own.

Need help setting up A record on Google Cloud, Your Cloud Storage Bucket needs to be named "www.blakemining.com" as per the GCS static website documentation. You actually just need  Create a new instance with a PTR record Google Cloud Console: Open the create instance page. Go to the create instance page. Click Management, security, disks, networking, sole tenancy to expand the advanced settings for your instance. Click Networking to select the instance networking settings.

Setting up Google Cloud DNS for your domain, Commonly used DNS Records. A Record – IPv4 address, maps IP of the host with a domain. AAAA Record – IPv6 address, mainly used in HTTP(  On the Create record set page, from the Resource Record Type field, select MX.. In the DNS Name field, enter @ or leave the default entry.; In the TTL field, enter 3600.; In the TTL Unit field, select seconds.

How to Transfer Domain Names to Google Cloud Hosting – One , Need to setup a domain name on Google Cloud Platform? navigating to Compute Engine Duration: 4:35 Posted: Jan 31, 2017 Get your Professional Google Cloud Architect certificate with this easy to learn course now. Prerequisites. Have a Compute Engine Instance running; Reserved the External IP address of your VM Instance. For setting up Compute Engine, see the Setting up Compute Engine Instance; Commonly used DNS Records

Create DNS records at Google Domains for Microsoft, Learn to verify your domain and set up DNS records for email, Lync, If Google Domains is your DNS hosting provider, follow the steps in If you're having trouble with mail flow or other issues after adding DNS records, see  Sign in to the Zoom web portal as an admin with the privilege to edit account settings. In the navigation panel, click Account Management then Account Settings. Navigate to the Recording tab and verify that the Cloud Recording setting is enabled. Note : If the setting is disabled, click the toggle to enable it.

Comments
  • I already did that and the www version of the website works. I looked into it more and I have to run some sort of VM on Google Cloud that will redirect non www requests to the www one apparently?
  • Glad to know it helped. It looks like you would need a DNS provider that supports ANAME/ALIAS type records as per this post[1] stackoverflow.com/a/35739430/6549463
  • I am running a static website with Cloud Storage and yes, I am using Cloud DNS.