Pointing the custom domain to Google sites

What I have done wrong, please?

I am trying to point ngac.ro to NGA

Thank you.

Set the CNAME for ghs.googlehosted.com to “DNS only” instead of “Proxied”.

2 Likes

Thank you @sjr
Now, it should work, please?

Any ideas, please, what I could try more, in order for the website to work, please? Thank you.

It looks like it is working from here.

How is that possible, to work for you?
Have just tried on 4 different devices, 3 different mobile phones and one laptop, all of them connected to different internet networks, all the browsers connected through different accounts, after deleted the whole cookies, for all the 4 browsers, from all the 4 different devices.
For all 4 devices is the same error, from the next print screen:

Thank you.

1 Like

It get the same error now, however you have switched it from :grey: DNS Only to :orange: proxied. It needs to be :grey: DNS Only.

It should be all right, now?

Actually, the screenshot I shared was for the www name. I visited the apex (without the www) when I encountered the error.

You need to configure a redirect from ngac.ro to www. I would delete the current A record for ngac.ro and replace it with an AAAA record of 100:: make sure that record is :orange: proxied. Then ypu can follow the first example in the following guide.

It should be like that, please?

From the link you share, Redirect Rules Cheat Sheet
Can you tell me please, should I look at: “Redirect from one domain to the homepage of another domain” ?

Thank you.

Now, with the new configuration, from the above replay, it looks like that:

You need to add the redirect rule to clear the error.

Look at example number 1.

For the above and this print screen? It should be like that?

Indeed, it seems that www.ngac.ro is working, but, ngac.ro or https://ngac.ro are not working.

Anyone, please?

Considering this video, what I should do? But my registrar is not GoDaddy.com:
https://www.youtube.com/watch?v=_aS1c1hRUe4

In this screenshot you are redirecting to the same hostname. The expression should be concat("https://www.ngac.ro", http.request.uri.path) otherwise you are just redirecting ngac.ro to itself.

2 Likes

Indeed @sjr I appreciate. Now it is working.
It seems, that, from what I remember, exactly here was my mistake, do add www to my domain, when I set it up in Google Sites, but, unfortunately it seems that I can’t undo it.

Can someone say, that this redirecting feature, could have some disadvantages of using the redirect option? Like speed for loading the site or any other issues, like security, or other disadvantages? I am asking, because if it could be some disadvantages, I would dig more, just to set the pointing domain, from scratch on Google Sites, without using the redirecting option on the Cloudflare. Thank you.

You must use a subdomain with Google Sites
It doesn’t have to be www but you cannot assign the apex name alone at Google. If you want your naked domain to send vistors to your Google Site, the redirect is required.

1 Like