Can I point a CNAME to a subpage on Google Sites?

5,444

Solution 1

This is posible, this is the official google help about this topic:

Can I point a CNAME to a subpage on Google Sites?

I quote:

Sites outside of Google Apps

If you own a domain and have access to change the CNAME record, you can map any site created in Google Sites outside of Google Apps (for example, sites.google.com/site) to a custom URL:

  1. Select Manage Site from the More Actions drop-down menu.
  2. Click the Web Address tab.
  3. Enter your custom URL in the Web Address text box, then click the Add button at the top of the page.

Changing your CNAME record

Depending on your domain registrar, you may need to make changes to your CNAME record in order for your site to be mapped:

  1. Sign in to the site where you control your own site with custom URL.
  2. Navigate to your Domain Name Server (DNS) management page. The location and name of this page varies by host, but can generally be found in the Domain Management or Advanced Settings section.
  3. Find the CNAME settings and in the section 'CNAME value or alias,' enter the sub-domain you'd like to map the URL to. The sub-domain for www.example.com would be www.
  4. Set the CNAME destination to the following address: ghs.googlehosted.com
  5. Save your changes with your domain host.

Solution 2

This is not possible using CNAME.

You may want to use a URL FRAME method if your registrar panel permit it.

Share:
5,444

Related videos on Youtube

Traveling Tech Guy
Author by

Traveling Tech Guy

I'm a technologist, entrepreneur and developer. I started 3 startups, and currently assist other companies through Traveling Tech Guy - my software consulting company. I specialize in web and mobile development, integration projects, and managing software development projects of various sizes and complexities. I'm always looking for the next challenge, and always eager to learn a new technology/stack/paradigm. Most recently I've been using NodeJS, Express, React and various JavaScript frameworks. Prior to that, I developed in Scala, PHP, and several years of .Net in the enterprise. My mobile experience includes iOS, Android and WP. I've been an avid Stack Overflow user almost from day 1. I'm thankful to the community for helping me out of sticky code situations, and hope that I can contribute back by answering as many questions as I can - on Stack Overflow, Web Applications, Super User, and Android Enthusiasts.

Updated on September 18, 2022

Comments

  • Traveling Tech Guy
    Traveling Tech Guy over 1 year

    Simple question:
    I followed the instructions and now I have a CNAME pointing www.mydomain.com to my Google Sites site.

    I want to add another, pointing mike.mydomain.com to https://sites.google.com/site/subpages/mike, dave.mydomain.com to .../dave etc.

    Is this possible? If so, where do I configure it in Google Sites?

    Comment: using site forwarding is not applicable here, since I'd like to have several subdomains.

  • Traveling Tech Guy
    Traveling Tech Guy over 12 years
    Could you please elaborate on URL FRAME?
  • jflaflamme
    jflaflamme over 12 years
    I'm using Namecheap link and from their help : You wish to redirect users to the actual location of your webpage but you need to have your domain name in the browser's address bar even after the redirection.
  • Traveling Tech Guy
    Traveling Tech Guy over 12 years
    Oh, ok. That's called "site forwarding" on Godaddy, and as I've mentioned in the question, it's not applicable here, since I need more than one subdomain.
  • jflaflamme
    jflaflamme over 12 years
    No, because URL forwarding exist also ! URL forwarding will redirect and the new URL visible in the address bar.
  • jflaflamme
    jflaflamme over 12 years
  • Traveling Tech Guy
    Traveling Tech Guy over 12 years
    Ok, this looks like a Namecheap unique feature. Also, it basically seems like it's showing the subpage you want in a frame on Namecheap's site - not really my desired behavior.
  • jflaflamme
    jflaflamme over 12 years
    Sorry but you got it wrong. This is not glued with namecheap at all. The URL could be anything. Other registrars are offering the same feature.