Skip to main content

Custom Domains, and a Typical "404 Not Found"

Sometimes, even with a properly setup custom domain, you (or your readers) may encounter a well known problem
Server Not Found

Error 404

Let's look at an excerpted HTTP trace of a typical blog showing the 404. You may want to compare this with a trace from a successful retrieval.
Sending request:

GET / HTTP/1.1
Host: mydomain.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.8.1.18) Gecko/20081029 Firefox/2.0.0.18
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·302·Moved·Temporarily(CR)(LF)
Location:·http://www.mydomain.com(CR)(LF)

Sending request:

GET / HTTP/1.1
Host: www.mydomain.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.8.1.18) Gecko/20081029 Firefox/2.0.0.18
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·404·Not·Found(CR)(LF)


Here's the relevant part:
HTTP/1.1·302·Moved·Temporarily(CR)(LF)
Location:·http://www.mydomain.com(CR)(LF)

There's the "Redirect mydomain.com to www.mydomain.com." option, executed just fine.
GET / HTTP/1.1
Host: www.mydomain.com

• Finding host IP address...
• Host IP address = 209.85.171.121

and finally
Receiving Header:
HTTP/1.1·404·Not·Found(CR)(LF)

In 9 cases out of 10, this is fairly simple to resolve.
>> Top

Comments

i forgot my user name for my blog
www.adsensekarthi.blogspot.com
Thank you!! You helped me solve my blogger custom domain problems. Kudos to you.

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.

What's The URL Of My Blog?

We see the plea for help, periodically I 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?".