When you setup a custom domain while using the "Buy A Domain For Your Blog" wizard, this isn't going to be the case. In this case, the "www" alias will be defined with a "CNAME", but the primary domain won't be.
Let's take a look at "nitecruzr.net".
There are 4 URLs to study here.
- The primary domain "nitecruzr.net".
- The "www" alias for the domain "www.nitecruzr.net".
- The primary BlogSpot URL "nitecruzr-dot-net.blogspot.com".
- The "www" alias for the BlogSpot URL "www.nitecruzr-dot-net.blogspot.com".
First, let's dig the DNS records for the primary domain "nitecruzr.net".
;; QUESTION SECTION:
;nitecruzr.net. IN A
;; ANSWER SECTION:
nitecruzr.net. 3600 IN A 64.233.179.121
nitecruzr.net. 3600 IN A 66.249.81.121
nitecruzr.net. 3600 IN A 72.14.207.121
Next, the "www" alias "www.nitecruzr.net".
;; QUESTION SECTION:
;www.nitecruzr.net. IN A
;; ANSWER SECTION:
www.nitecruzr.net. 3600 IN CNAME ghs.google.com.
ghs.google.com. 586847 IN CNAME ghs.l.google.com.
ghs.l.google.com. 203 IN A 72.14.207.121
This is different from my previous case study.
nitecruzr.net. 3600 IN A 64.233.179.121
nitecruzr.net. 3600 IN A 66.249.81.121
nitecruzr.net. 3600 IN A 72.14.207.121
www.nitecruzr.net. 3600 IN CNAME ghs.google.com.
Here, only the "www" alias is using a "CNAME", and the wizard automatically publishes the blog to that. In my case, to "www.nitecruzr.net".
Now, let's look at browser connect logs. First, this is what we get for the "www" alias in the domain "nitecruzr.net".
3/29/2008 08:50:42 Trying http://www.nitecruzr.net
Header:
HTTP/1.0 200 OK
Content-Type: text/html; charset=UTF-8
Next, the primary domain "nitecruzr.net".
3/29/2008 08:50:17 Trying http://nitecruzr.net
Redirect!
Header:
HTTP/1.0 302 Moved Temporarily
Location: http://www.nitecruzr.net
Content-Type: text/html; charset=UTF-8
As in the previous study, we see
HTTP/1.0 302 Moved Temporarily
Location: http://www.nitecruzr.net
This appears to be automatic, and it makes sense. When you setup a brand new domain, you'll likely want the primary domain = the "www" alias. The "302 Moved Temporarily" is a bit dodgy though.
Now, let's look at the BlogSpot URLs.
3/29/2008 08:56:48 Trying http://nitecruzr-dot-net.blogspot.com
Redirect!
Header:
HTTP/1.0 301 Moved Permanently
Location: http://www.nitecruzr.net/
Content-Type: text/html; charset=UTF-8
and
3/29/2008 08:56:38 Trying http://www.nitecruzr-dot-net.blogspot.com
Redirect!
Header:
HTTP/1.0 301 Moved Permanently
Location: http://www.nitecruzr.net/
Content-Type: text/html; charset=UTF-8
Both "nitecruzr-dot-net.blogspot.com" and "www.nitecruzr-dot-net.blogspot.com" redirect to "www.nitecruzr.net", again as in the previous study. This is a asymmetrical, but complete setup - that is, you can see your blog from any of the 4 aliases enumerated above. In earlier setups using the "Buy a Domain ..." wizard, the above results weren't consistently seen.
>> Top
0 comments:
Post a Comment