How to Set a Custom Domain for Google Sites

David Utke â€¢  Updated: March 12, 2026 â€¢  Website Setup

From the desk of David Utke

Subj: Go from amature to pro with a real domain.


When you first create a Google Sites website, it comes with a default URL structure like sites.google.com/view/yoursite.

While this works functionally, having a custom domain like yourwebsite.com looks significantly more professional and builds trust with your visitors.

Why Use a Custom Domain?

Before diving into the technical setup, it’s worth understanding why a custom domain matters:

Step 1: Purchase Your Domain Name

The first step is acquiring a domain name from a domain registrar. I recommend Namecheap for several reasons:

How to Get Your Domain Name

Let me break it down step by step:

  1. Visit namecheap.com.
  2. Enter your desired domain name in the search bar on the homepage.
  3. Check availability, try to get the .com whenever possible.
  4. Add the domain to your cart
  5. Consider registering for multiple years to lock in the current low pricing.
  6. Complete the checkout process and create your Namecheap account.

Important Note: Domain privacy is crucial because domain registration requires publicly available contact information. Privacy protection keeps everything private and is included for FREE with Namecheap.

Step 2: Access Google Sites Domain Settings

Once you own a domain, you need to connect it to your Google Sites website:

  1. Open your Google Sites website builder
  2. Click the Publish button in the top-right corner
  3. You’ll see a web address field with the default Google Sites URL structure
  4. Click the gear icon (settings) in the top-right corner
  5. Navigate to Custom Domain in the settings menu
  6. Click Connect Domain

Step 3: Initial Domain Verification

When you enter your custom domain name in Google Sites:

  1. Type your domain name (e.g., yourwebsite.com) in the domain field
  2. Google Sites will show “Domain name is not verified. Please verify ownership”
  3. Click the verification link provided
  4. This will redirect you to Google Search Console for the verification process

Step 4: Domain Ownership Verification via DNS

Google Search Console will guide you through domain verification using DNS records:

Understanding the TXT Record

Google will provide you with a TXT record that looks like a long string of random characters. This record proves you own the domain by demonstrating you can modify its DNS settings.

Adding the TXT Record to Namecheap

  1. Copy the TXT record provided by Google Search Console
  2. Log into your Namecheap account
  3. Find your domain and click Manage
  4. Navigate to the Advanced DNS tab
  5. Look for the Host Records section
  6. Click Add New Record
  7. Select TXT Record from the dropdown
  8. In the Value field, paste the verification code from Google
  9. In the Host field, use the @ symbol (this represents your root domain)
  10. Click the green checkmark to save the record

Completing Verification

  1. Return to Google Search Console
  2. Click the Verify button
  3. The system will check for the TXT record (this usually takes just a few seconds)
  4. You should see “Ownership verified. Done.”

Step 5: Setting Up the CNAME Record

After domain verification, you need to create a CNAME record to actually connect your domain to Google Sites:

Back to Google Sites

  1. Return to your Google Sites custom domain settings
  2. Enter your domain name again
  3. This time you should see a blue checkmark indicating verification
  4. Click Next

CNAME Record Requirements

Google Sites will provide you with specific CNAME record details:

Adding the CNAME Record in Namecheap

  1. Return to your Namecheap Advanced DNS settings
  2. Click Add New Record
  3. Select CNAME Record from the dropdown
  4. Host: Enter “www”
  5. Target/Value: Enter “ghs.googlehosted.com”
  6. Click the green checkmark to save

Final Connection

Almost done, now you simply need to assign the domain.

  1. Return to Google Sites
  2. Click Done to complete the domain connection process
  3. Google Sites will begin assigning the domain name to your website

Step 6: Publication and Propagation

After completing the DNS setup, just click the Publish button in Google Sites.

You should now see “Custom Domain” as an option. The system may display “Allow up to 48 hours for this site to be viewable.” This is normal and is called propagation.

After about 12 hours I would check to make sure your custom domain is working.

Troubleshooting Common Issues

Domain Not Loading

If your domain isn’t working after several hours:

SSL Certificate Delays

Google automatically provides SSL certificates for custom domains, but this can take additional time. SSL certificates may take a few extra hours to activate. Don’t worry, your site should automatically redirect to HTTPS once the certificate is active.

Verification Problems

If domain verification fails, double check the TXT record was saved properly in your DNS settings. Wait 10-15 minutes and try verification again. Also check that you’re using the @ symbol in the host field for the TXT record.

Conclusion

Unlike many website platforms, Google Sites doesn’t charge extra for custom domain connections, SSL certificates, bandwidth or storage (within reasonable limits).

Once you’re setup with a professional custom domain, why not now learn how to add ecommerce functionality to your site?

All the best. Your man,

-David

How I can help you. You're here, let's do this:

1. Website Review Your website may be clear and specific to you, but it may be really confusing to anyone who visits. That's where I come it, I'll give you actionalbe feedback to improve your site with my highly rated gig.

2. My YouTube channel Helpful video tutorials showing you how to launch, grow and monetize your audience.