Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I own a domain name can i change it's CNAME to make it point to any other domain that I don't own?

Example: I own a domain name (balh.com)

can I make it an alias for google.com and yahoo.com?

means when I enter (balh.com) in the web browser it shows the google.com webpage with the address (blah.com)?

share|improve this question
add comment

3 Answers

While you could, all it would achieve would be to return the wrong ip address for your site. Browsers would then ask the incorrect ip address to serve a site for your domain name.

How google or yahoo could choose to deal with this might vary. It could be as simple as displaying an error message, or at worse it could blacklist your domain for some reason.

It certainly wouldn't garner any benefit to your site in terms of search engine ranking.

share|improve this answer
    
I've a hosting space at myhost.freehosting.com an a free domain at mydomain.co.cc I want to change the cname of the mydomain.co.cc to myhost.freehosting.com will that work or they must provide facilities to do that, thank you –  Michael harris Dec 19 '11 at 0:11
    
Which configurations should I do? –  Michael harris Dec 19 '11 at 0:18
add comment

Yes, but it will only work if the remote site is configured to serve the correct content for your hostname.
Therefore, for example, it won't work with shared virtual hosts.

You can try it without changing DNS by editing your HOSTS file.

share|improve this answer
    
I've a hosting space at myhost.freehosting.com an a free domain at mydomain.co.cc I want to change the cname of the mydomain.co.cc to myhost.freehosting.com will that work or they must provide facilities to do that, thank you –  Michael harris Dec 19 '11 at 0:13
    
You must configure the host to respond to the hostname. –  SLaks Dec 19 '11 at 0:14
    
so they must give me the permission to do that? –  Michael harris Dec 19 '11 at 0:15
    
Which configuration should I do? –  Michael harris Dec 19 '11 at 0:18
    
You need to configure the hostnames. –  SLaks Dec 19 '11 at 0:19
add comment
  1. You can't change CNAME for domain, because can CNAME exist only for hosts inside domain
  2. Yes, you can CNAME hostname in your domain to any other hostname from any domain. Sense of such operation is beside the scope of question, but it can exist
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.