I'm on GoDaddy and the '.com' is the primary domain name. I also have a 'co.uk' that is pointing at the same IP address. I have used GoDaddy's redirect facility to specify that '.co.uk' is to be re-directed to 'com', as an experiment. I selected 301 as opposed to 302 but have read elsewhere that this still operates as a 302 on GoDaddy, but that's another matter.
What is confusing me, is that when I feed to 2 urls into online redirect detecting software, I'm told they are BOTH direct links, when I would have expected the 'co.uk' domain to be flagged as a redirect.
This whole redirecting thing I'm finding very confusing. Any light shed on this would be welcome.
On GoDaddy, I have 3 domain names:
www.mydomain1.com (primary domain name)
www.mydomain2.co.uk
www.othername.com
The 1st two domains point to the same IP address, the third somewhere else.
I specified 301 redirect forwarding to www.mydomain1.com from both of the other two.
However, when looking at the headers, www.mydomain2.co.uk reports a 200, whereas www.othername.com returns a 301.
This seems to imply to me that if the same IP address is being used, the 301 redirect becomes redundant. If so, does that mean you don't get the google juice associated with a 301 redirect?
HTTP/1.1 301 Moved Permanently =>
Connection => close
Date => Wed, 02 Jul 2008 18:12:21 GMT
Server => Microsoft-IIS/6.0
X-Powered-By => ASP.NET
X-AspNet-Version => 2.0.50727
Location => [mydomain.com...]
Cache-Control => private
Content-Length => 0
Does this mean it works properly then?