Skip to main content

Your Blog, Multiple URLs

Having multiple blogs in a custom domain is a simple matter, with a custom domain array. Sometimes, you may want to publish just one blog, but use multiple domain URLs for that blog. There are several ways to do this, producing varying results with some subtle differences.

Recently, I changed the domain URL for my church blog "Martinez United Methodist Church", from martinezumc.org, to martinez-umc.org. I started out with a stub at the new location, and slowly added content. The new URL was fully operational last week, and over the weekend I finished the job.

The blog now has 4 URLs

Each of the secondary URLs redirects, using a "301 Moved Permanently", to another URL.
  1. The original BlogSpot URL "martinezumc.blogspot.com" redirects to the original domain "martinezumc.org", using a standard BlogSpot custom domain redirect.
  2. The original domain "martinezumc.org" redirects to the primary URL "martinez-umc.org".
  3. The current BlogSpot URL "martinez-umc.blogspot.com" redirects to the primary URL "martinez-umc.org", using a standard BlogSpot custom domain redirect.


The effect of a "301 Moved Permanently" is to simultaneously
  1. Take traffic to a secondary URL such as "martinezumc.org", and redirect the traffic to the primary URL "martinez-umc.org".
  2. Instruct the search engines to replace the secondary URL, such as "martinezumc.org" with the primary URL "martinez-umc.org", in their database.
  3. Display the primary URL "martinez-umc.org", as the destination in the browser.


My task for the weekend was to make the original domain "martinezumc.org" redirect to the primary URL "martinez-umc.org". This involved a 2 step process.
  1. Define the DNS addresses for the original domain "martinezumc.org", pointing to the GoDaddy Forwarding server.
  2. Define the target of the redirect, "martinez-umc.org", on the GoDaddy Forwarding server.


The first step involved DNS address definitions, pointing to the GoDaddy Forwarding Server.

martinezumc.org. 3589 IN A 64.202.189.170
www.martinezumc.org. 3600 IN CNAME martinezumc.org.

pwfwd-v01.prod.mesa1.secureserver.net (64.202.189.170)
64.202.160.0 - 64.202.191.255
GoDaddy.com, Inc.

The second step involved Advanced DNS Settings in the GoDaddy DNS Manager wizard for "martinezumc.org", where I selected "301 Moved Permanently", and entered "www.martinez-umc.org". The GoDaddy script would not accept the primary domain, "martinez-umc.org", as the target, so I was forced to use the "www" alias "www.martinez-umc.org", as the target.

Having setup the redirect, let's examine it in an HTTP trace excerpt.

Sending request:

GET / HTTP/1.1
Host: martinezumc.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Connection: close

• Finding host IP address...
• Host IP address = 64.202.189.170
• Finding TCP protocol...
• Binding to local socket...
• Connecting to host...
• Sending request...
• Waiting for response...
Receiving Header:
HTTP/1.1·302·Moved·Temporarily(CR)(LF)
Content-Length:·0(CR)(LF)
Location:·/?b1b7cb08(CR)(LF)

Sending request:

GET /?b1b7cb08 HTTP/1.1
Host: martinezumc.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Connection: close

• Finding host IP address...
• Host IP address = 64.202.189.170
• Finding TCP protocol...
• Binding to local socket...
• Connecting to host...
• Sending request...
• Waiting for response...
Receiving Header:
HTTP/1.1·302·Moved·Temporarily(CR)(LF)
Content-Length:·0(CR)(LF)
Location:·/(CR)(LF)

Sending request:

GET / HTTP/1.1
Host: martinezumc.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Connection: close

• Finding host IP address...
• Host IP address = 64.202.189.170
• Finding TCP protocol...
• Binding to local socket...
• Connecting to host...
• Sending request...
• Waiting for response...
Receiving Header:
HTTP/1.1·301·Moved·Permanently(CR)(LF)
Connection:·close(CR)(LF)
Date:·Tue,·24·Feb·2009·07:17:54·GMT(CR)(LF)
Server:·Microsoft-IIS/6.0(CR)(LF)
X-Powered-By:·ASP.NET(CR)(LF)
X-AspNet-Version:·2.0.50727(CR)(LF)
Location:·http://www.martinez-umc.org(CR)(LF)

Sending request:

GET / HTTP/1.1
Host: www.martinez-umc.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Connection: close

• Finding host IP address...
• Host IP address = 209.85.171.121
• Finding TCP protocol...
• Binding to local socket...
• Connecting to host...
• Sending request...
• Waiting for response...
Receiving Header:
HTTP/1.1·302·Moved·Temporarily(CR)(LF)
Location:·http://martinez-umc.org/(CR)(LF)

Sending request:

GET / HTTP/1.1
Host: martinez-umc.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Connection: close

• Finding host IP address...
• Host IP address = 216.239.32.21
• Finding TCP protocol...
• Binding to local socket...
• Connecting to host...
• Sending request...
• Waiting for response...
Receiving Header:
HTTP/1.1·200·OK(CR)(LF)

<link·rel="alternate"·type="application/rss+xml"·title="Martinez·United·Methodist·Church·-·RSS"·href="http://martinez-umc.org/feeds/posts/default?alt=rss"·/>(LF)
<link·rel="service.post"·type="application/atom+xml"·title="Martinez·United·Methodist·Church·-·Atom"·href="http://www.blogger.com/feeds/3417375949242075395/posts/default"·/>(LF)


>> Top

Comments

Unknown said…
Do you need to set up the second blogspot address?

Could you simply redirect the original BlogSpot URL "martinezumc.blogspot.com" to the new domain "martinez-umc.org", using BlogSpot custom domain redirect?

Actually, do you even need to redirect the original blogspot address if you are redirecting martinezumc.org using a 301 redirect?

Thanks for this - I am thinking of doing this exact thing. Cheers.
Nitecruzr said…
You don't need to setup a second BlogSpot address, if you don't have a second BlogSpot blog that you want directed to the primary domain URL.

This simply lets you combine 2 BlogSpot URLs, and 2 domains, into 1 blog. As in moving from an old URL to a new one.

Just decide what you want to do, and how mature the old BlogSpot and domain URLs are.

Popular posts from this blog

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.

Leave Comments Here

Like any blogger, I appreciate polite comments, when they are relevant to the blog, and posted to the relevant article in the right blog. If you want to ask me a question thats relevant to blogging, but you can't find the right post to start with (I haven't written about everything blogger related, yet, nor the way things are going I don't expect to either), ask your questions here, or leave an entry in my guestbook.

As noted above, please note my commenting policy. If you post a comment to this post, I will probably treat it as a "Contact Me" post. If you have an issue that's relevant to any technical issue in the blog, please leave a comment on the specific post, not here. This post is for general comments, and for non posted contact to me.

If the form below does not work for you, check your third party cookies setting!

For actual technical issues, note that peer support in Blogger Help Forum: Something Is Broken, or Nitecruzr Dot Net - Blogging is, almos…

What's The URL Of My Blog?

We see the plea for help, periodicallyI need the URL of my blog, so I can give it to my friends. Help!Who's buried in Grant's Tomb, after all?No Chuck, be polite.OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".