Sunday, February 21, 2016

subdomain - Getting domain without www in front to point to same place as with www in front



Consider the following screenshot from Godaddy:



enter image description here



Why am I not allowed to make the * refer to ghs.google.com, when I can make www point to that just below? I think there is something fundamental that I have misunderstood here, but this should really not be that difficult.



What I want to achieve is that open-org.com points to the same place as www.open-org.com. Preferably they should both point to open-org.com like serverfault.com.




There are some similar questions to this question around, but their solutions do not seem to work on Godaddy.



I am using Google Sites for web hosting.


Answer



You may not CNAME the root of the domain - but you certainly may CNAME the * name, which you should be able to do in the CNAME section of that interface. Note that this will not apply to the name open-org.com though.



A CNAME of the root violates the rules of DNS, since you have (and need) SOA and NS records on the root name for your domain to function properly.



Your best option is probably to have open-org.com's A record point to a server which does an HTTP redirect to www.open-org.com - GoDaddy may provide this kind of redirection as a built-in service, not sure.



No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...