Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
3.6.3. Connect domain to Google Sites
Automatic setup
Use presets from the "Google → Google Sites" group.
Manual setup
Important points:
- In Google Sites you can connect only a subdomain. The main domain like
example.comcannot be connected. - Domain must be served on our NS. If third-party NS are used, actions should be performed in the panel of the owner of these NS, not in ours.
Configure
- Confirm ownership of the domain in Google Sites.
- Delete all existing DNS records of the subdomain for which you will be adding the CNAME record (only this subdomain, the records of the main domain and other subdomains do not need to be touched).
- Add record with the following data:
- "Subdomain" — subdomain name (e.g. for an address like
www.example.comyou should specifywww). - "Type" — "CNAME".
- "Data" —
ghs.googlehosted.com.
- Wait for the DNS cache to refresh (usually a few hours, maximum 24).
Redirect
Additionally, you can configure the site to work at the main address (without www) by redirecting requests to the site with www.
To set up a redirect, enable direct web redirect, specify your site address with www in the "Redirect URL" field, and enable "Redirect requests for non-www domain only".
The end result will be the following site accessibility scheme:
- When accessing the address with www via HTTPS — the site will open directly from Google server (basic mode of operation).
- When accessing the address with www via HTTP — redirect to the address with www via HTTPS will be performed.
- When accessing the address without www via HTTP and HTTPS — web redirect will be performed to an address with www via HTTP or HTTPS (depending on how the target address is specified in the web redirect settings).
(2)