Cloudflare with Google Sites

What is the name of the domain?

www.stitchwelltextiles.com

What is the error number?

not loading website

What is the issue you’re encountering

not loading website

What steps have you taken to resolve the issue?

I bought my domain on godaddy and then changed my nameserver to cloudflare. I built my website on google sites and linked it to my domain but ive waited 24hrs now and still when i enter my url (www.stitchwelltextiles.com) i get a godaddy page that says is parked free, courtesy of GoDaddy.com.
I am attaching my dns settings on cloudflare below! any help would be highly appreciated.

What feature, service or problem is this related to?

I don’t know

Screenshot of the error

How did you link your Google Sites site to your domain? Your Cloudflare DNS certainly doesn’t show any such linking: your own DNS screenshot shows your domain is pointed to IP addresses owned by Amazon AWS, and last time I knew Google does not rent servers from Amazon.

If you want Google Sites to serve your domain and not GoDaddy or AWS, first remove the 4 entries highlighted below from your Cloudflare DNS.

Then go to your Google Sites settings page to add your domain name. (NB: if you see your domain has been added here already, remove it and start over – as something or someone must have removed the DNS records in Cloudflare.)

Once the Google Sites custom domain wizard determines your domain uses Cloudflare, you may be given the option to authorize Google to access your Cloudflare account and automatically create the DNS record for you. Choose this option if offered.

Otherwise, you’ll be given the exact DNS record(s) which you’ll have to manually create in your Cloudflare DNS dashboard.

1 Like

Thank you!!! i removed the 4 records and unlinked the property (www.stitchwelltextiles.com) from my search console. When i try to add my domain on google sites, it says i still own the property and just asks me to add CNAME www & ghs.googlehosted.com. is that the only dns record i need or are there any others? Should i link my search console again to my domain?

Yes, because the TXT verification is still on your domain’s DNS. Do not remove this DNS record.

Yes, once the domain is verified already, that’s the only DNS record you need to get www.stitchwelltextiles.com working. (IMPORTANT: Set this CNAME record to DNS-only :grey: in Cloudflare.)

Let’s get that working first, then we can work on the apex domain stitchwelltextiles.com (hint: you’ll need to redirect the latter to the former).

Yes, add the domain to Search Console again. But that’s just for your SEO monitoring – it has nothing to do with getting your Google Sites domain to work.

Yes, as

Deleted the TXT dns record by mistake!

Your site works from my end. If it’s not working for you, flush your local DNS cache – or just wait for a little while.

For the deleted TXT record, I wouldn’t worry about that as that won’t stop your site from working. If you want to connect your domain to some other Google service in the future, Google may ask you at that point to verify the domain name with a new TXT record.

Thank you!! Much appreciated. Website works fine when i enter www.stitchwelltextiles.com but not when i type stitchwelltextiles.com. why is that?

The reason stitchwelltextiles.com is not working is that you’ve so far only configured www.stitchwelltextiles.com at both Google Sites and Cloudflare.

And I touched on this earlier:

First, go to your Cloudflare DNS page and add an A record as follows:

Name: @ (this represents stitchwelltextiles.com)
IP Address: 192.0.2.1
Proxy Status: :orange: Proxied

Next, create a Redirect Rule as follows:

When incoming requests match

Field: Hostname
Operator: equals
Value: stitchwelltextiles.com

Then

Type: Dynamic
Expression: concat("https://www.stitchwelltextiles.com", http.request.uri.path)
Status code: 301
Preserve query string: :white_check_mark:

That should do the trick.

Good luck!

3 Likes

Thank you! you are a legend

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.