Forwarding a subdomain to main domain using Godaddy
Posted
by
Ryan Hayes
on Pro Webmasters
See other posts from Pro Webmasters
or by Ryan Hayes
Published on 2010-12-04T21:38:27Z
Indexed on
2013/07/01
10:30 UTC
Read the original article
Hit count: 355
I have current blog, which was hosted on Tumblr at http://blog.ryanhayes.net. I'm moving it over to http://ryanhayes.net, and have all the 301 redirects set up for the blog entries to map to my new blog, which is hosted using Godaddy (domain included). When I try to set up a subdomain forward, I'm greeted with a nice 403 Forbidden response (as of this writing, you can see it at http://blog.ryanhayes.net. When I try to ping both the subdomain and domain, they point to the same IP address, so I know blog subdomain has at least switched over to point to the same content. I don't really understand why I would get a 403 Forbidden on the same content that I can see perfectly fine via another domain.
Currently, I have a CNAME of blog pointing to @, which is how "www" is set up to forward, so I'm assuming it would do the same thing.
My question is what is the proper way to set up my DNS to make the blog subdomain forward to my main domain (301) using the GoDaddy DNS manager?
Bonus: What is the background on why I am getting a 403 error the current way?
Forbidden
You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
UPDATE 12/7/2010
Error on site has been fixed, you can no longer view it from my site.
© Pro Webmasters or respective owner