One of the main reasons that I see touted for doing a 301 vs changing the
DNS is for SEO reasons. This applies mosting to people that have built up
a top or close to top page rank with google and don't want to lose that
visibility. It takes a long time to get there especially in competitive
search areas. So if a site owner wants to make a change to their web
address (perhaps because they were finally able to obtain the domain name
they wanted through auction) they would just do the 301 and keep their
google rank for the new domain. Then they could work to build up the new
url's rank before doing the DNS switch.
Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
Scott Klement <web400@xxxxxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
12/02/2010 05:40 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
To
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
cc
Subject
Re: [WEB400] DNS Question
Hi Jon,
An analogy... let's say you decided to move from your current
residence, and you wanted all of your mail to come to the new house.
You have two alternatives:
1) Tell all of your friends that you've moved, and they should use the
new address.
2) Tell the post office your new address, and have them redirect all of
your mail to the new place.
Well, at first, #1 might seem like a hassle. After all, it takes time
to reach all of your friends/contacts. How do you even figure out all
of the different places that have your address, in order to contact them
and get them changed properly? In other words, it takes time to
propagate.
#2 is much easier. Set it up once, and presto, the problem is solved.
Only problem is, mail delivery is slower because the mail is delivered
to the wrong post office at first, and then the post office has to find
the mail that's for you and redirect it. Worse, they'll only do this
for a limited time... imagine the nightmare it would create for the
post office employees if they had to keep track of everyone who ever
moved in all of history... they _have_ to impose a limit, or it'd be
impossible to manage.
Also, there's a more basic problem with leaving a "forwarding address"
at the post office. Your address might be used by someone for something
that's *not* mail. Maybe UPS. Maybe a friend stopping by!
The analogy holds true for DNS vs. URL redirect. When you change DNS,
you have to wait for everyone's DNS cache to expire so they'll go back
to _your_ server to get a new address... this "propagation" delay might
be unpleasant for a short while. But once it's done, it's done...
people come to your new site, and all is well. (And, frankly, it's not
nearly as difficult as getting all of your contacts to use your new
mailing address!)
By contrast, a URL redirect requires someone to connect to the OLD HTTP
server first, that server then gives them a new URL, and sends them to
the new server. That's twice as many connections, so it's slower. And
that old server, like the post office, would have to keep track of your
old and new URLs "forever", which might not be practical to manage.
(Depending on the circumstance, I guess.)
Furthermore, a URL direct is part of HTTP, and will only work for HTTP
requests. It won't help you with E-mail, FTP, Telnet, SSH, or any of
the other ways of contacting your site.
So a URL redirect makes sense as a temporary measure while DNS is
propagating, but it makes no sense in the long run... (Unless i've
completely misunderstood your scenario, which is probably likely.)
On 12/2/2010 2:43 PM, Jon Paris wrote:
Question for all you web gurus out there.
What is the difference in effect between using URL forwarding and a
CNAME DNS entry?
Is it simply that URL forwarding doesn't have to propagate but CNAME
does?
Jon Paris
www.Partner400.com
www.SystemiDeveloper.com
As an Amazon Associate we earn from qualifying purchases.