FTP vs. Custom Domains
Bloggers who rely on our FTP service to publish their blog to their own domain had a rough week last week. In fact, it's been a bumpy month or two. Let's start with the most important comment on this state of affairs: this sucks, and we're sorry.
(Note: this is a lengthy post, and goes into a fair amount of technical detail. If you don't use FTP to upload your blog, you can skip this post. --Rick Klau, Blogger Product Manager)
If you use FTP today, I'd like to start a conversation about whether this is the right approach for your blog. I've been talking with bloggers over the last couple weeks on this subject, and have found most users, when presented with the option of hosting their blog using Blogger's Custom Domain option instead of FTP, find Custom Domains to be a far superior option. That's not to say there aren't compelling reasons to stick with FTP, so I'm not interested at this point in trying to convince everyone to switch over to Custom Domains. But I do think it is preferable for most of you still using FTP, and hopefully this post will help lay out why.
Advantages of Custom Domains Over FTP
First off, what is a Custom Domain? If you own a domain, we can host your blog at your domain instead of hosting at yourblog.blogspot.com. Unlike FTP, where you transfer the blog's files to a webserver hosted elsewhere, Google actually hosts the blog on our servers. So why would you want to start using a Custom Domain over FTP? When Blogger released Custom Domains a couple years ago, we pointed out a couple obvious advantages:1) Simple setup.
In light of the recent experiences with FTP, here's two more:
2) Faster publishing. You no longer wait for files to transfer to your remote host; as soon as you click publish, the post is available and all archive pages are updated.
3) Drag and drop template editing. Blogger's newer templates offer you a lot more in terms of customization, and make designing your page a much simpler process.
4) Access control. You can restrict access to your blog when we host it; there's no way to do this natively within Blogger (though your webhost may offer a way to do this separately).5) Fewer moving parts. As I've dug in over the last few weeks on issues relating to FTP, as often as not the problems were not Blogger-related but were a byproduct of a webhost implementing stricter security on FTP logins (only whitelisting certain IP addresses, for instance, or throttling access for certain users). These are notoriously hard to isolate, particularly when they involve coordinating support with a third party. No one - including us! - enjoys the terrible back and forth of "it's the webhost's issue" "no, it's Blogger's issue" "no, we're pretty sure it's the webhost's issue" when all you want is to be able to post to your blog.
Twitter Feedback: Why do you prefer FTP?
6) Free, scalable hosting. Google knows a thing or two about hosting content around the world, and by relying on Blogger for hosting you're getting the advantage of a robust hosting environment - for free!
Enough generalizations. On Saturday, I asked users on Twitter to tell me why they preferred FTP over Custom Domains. I've listed the first few responses below, along with my thoughts:
There were two responses that are completely valid reasons for sticking with FTP:
One note: if you do stick with FTP, we'd strongly recommend checking with your webhost to see if they support SFTP - it's much more secure than FTP.
Redirecting from your FTP blog to your Custom Domain blog
OK. Let's assume that you've read this far, and have decided that you want to give a custom domain a try. If your blog has been around a while, you'll be concerned about links to your soon-to-be old URL.
I started my blog on Blogger in 2001, using Blogger's FTP service to publish to www.rklau.com/tins/. At the time, that was the only way to use Blogger to manage my blog on my own domain. I later switched to Movable Type (retaining the same URL), and then migrated to WordPress in 2005. Back in November, in anticipation of joining the Blogger team, I moved back to Blogger. After chatting with the Blogger team, I knew I wanted to take advantage of many of the new features on Blogger - but because I had a ton of images and files on www.rklau.com that I'd uploaded over the years, I didn't want to map www.rklau.com to Blogger.
My answer? I moved the blog from www.rklau.com/tins/ to tins.rklau.com. I created a CNAME for tins.rklau.com that maps to Google, and now Blogger hosts the blog. All of the old posts with pointers to files and images at www.rklau.com continue to work. I documented how I use WordPress to redirect requests from the old posts to the new ones here. If you're moving from FTP to Custom Domains, then there's one last step - redirection - to ensure that requests to the former URLs find your new URL.
How you implement the redirection depends on what kind of server you're hosting on. If you're on an Apache webserver (most common) then you'll want to use something called htaccess. If you're on an IIS server and you don't manage the server yourself, you will need to talk to the webhost to get the redirect in place.
To create an htaccess file, first create a text file which includes the following lines:RewriteEngine On RewriteBase / RedirectMatch 301 ^/blog/(.*)$ http://blog.yourdomain.com/$1
This assumes your blog is published to /blog, and that your new Custom Domain is blog.yourdomain.com - change those values as appropriate. Now upload this file to your webserver, and name it ".htaccess" (no quotes, but the period preceeding "htaccess" is important) in the root directory. All this does is take incoming requests to files in the /blog directory, and redirect them to blog.yourdomain.com, while keeping the rest of the URL intact. Since Blogger will keep the same permalinks in the migration, this will preserve all inbound link traffic.
Questions? Comments?
I'm sure I haven't addressed all of the issues users have with staying on FTP instead of Custom Domains. And I will freely admit I have an agenda with this post: the less time Blogger engineers spend supporting a brittle feature (FTP), the more time we can spend building out new features. If you have questions not addressed with this post, we've set up a help group focused on this topic. Head on over there to ask a question or view current discussions: Blogger team members and users familiar with the pros and cons of both FTP and Custom Domains will be in there, and we'll answer questions as they come up.
To all of you who continue to rely on Blogger as your blogging platform: thank you.



