Can I point a CNAME to a subpage on Google Sites?
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:
- Select Manage Site from the More Actions drop-down menu.
- Click the Web Address tab.
- 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:
- Sign in to the site where you control your own site with custom URL.
- 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.
- 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.
- Set the CNAME destination to the following address: ghs.googlehosted.com
- 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.
Related videos on Youtube
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, 2022Comments
-
Traveling Tech Guy over 1 year
Simple question:
I followed the instructions and now I have a CNAME pointingwww.mydomain.com
to my Google Sites site.I want to add another, pointing
mike.mydomain.com
tohttps://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 over 12 yearsCould you please elaborate on URL FRAME?
-
jflaflamme over 12 yearsI'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 over 12 yearsOh, 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 over 12 yearsNo, because URL forwarding exist also ! URL forwarding will redirect and the new URL visible in the address bar.
-
jflaflamme over 12 years
-
Traveling Tech Guy over 12 yearsOk, 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 over 12 yearsSorry 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.