Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a domain registered on godaddy (daniloaraujosilva.com).

I would like when I type daniloaraujosilva.com/blog, for example, it redirects to my blog (sapiensgarou.blogspot.com).

How can I perform this?

Obs.: I think this is has a relation with CNAME or A, but I don't know exactly. I am a little new at this.

share|improve this question

If you only wish to redirect the /blog subdirectory then I wouldn't bother messing with domain name records at all, I would go for a simple 301 redirect. This will allow you to use the daniloaraujosilva.com domain for other content and only forward the /blog directory to your blogspot domain. An easy way to accomplish this would be to create a PHP file named index.php and place it inside your /blog directory:

    Header( "HTTP/1.1 301 Moved Permanently" ); 
    Header( "Location: http://sapiensgarou.blogspot.com" ); 

From an SEO standpoint this will forward all traffic properly from your domain name to your blogspot url. I am assuming that you have a hosting account connected to your GoDaddy domain and the ability to create a PHP file, if not then a different method will need to be used.

share|improve this answer

Your Answer


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.