I have a domain with Google, and I want to configure DNS on Google Cloud to use "www.example.com", and not "sites.google.com/...."
-
1I would recommend to add more details to your post as it is too vague, what service did you use or where are you hosting? Based on your current post, this [official guide](https://support.google.com/a/answer/7392423?hl=en) might help. – Alex G Jan 24 '22 at 07:21
2 Answers
The typical solution here is to use any of the following:
- CNAME record that points domainname.com to domainname.provider.com
- A record that points domainname.com to the same IP address that domainname.provider.com
This should work for several different providers. But many providers use 'virtual hosting' which means that a single server, identified by an IP address, will be serving different websites, and will use the domain name as sent by an HTTP header. You need to tell the provider, sites.google.com, that domainname.com is a valid name for the server as well.

- 886
- 11
- 30
You could configure a CNAME Record, this is used in the DNS to create an alias from one domain name to another domain name: Example: www.yourdomain.com CNAME yourdomain.com
You could need also an A Record to point your Ip address at your domain. The A record translate the human readable domain name to an IP address. Example: yourdomain.com. A192.162.101.100 .
If you already has the CNAME Record you can go to the Google cloud console and select the Cloud DNS page, once there you can follow the next steps:
- Click the zone for which you want to create a resource record set.
- On the Zone details page, click Add record set.
- Enter the DNS name for the record set—for example, test.example.com.
- Select the resource record type. (here you can chose the CNAME record)
- Enter the time to live (TTL) for the resource record set—for example, 30
- Select the TTL unit—for example, minutes.
- Enter the details based on the record type that you have selected.
- Click Create.
In the next link you can find more information related to manage record

- 695
- 3
- 11