Need a WordPress website this weekend? Start here...

Website Hosting for Your Benefit (not mine)

(Reading time: 7 – 11 minutes)

This article on website hosting was the very first article published on Website In A Weekend. This is the fourth update, which features extensive revisions, including discussion about non-WordPress website hosting solutions.

Updated: January 6, 2012

Money? (Your fundamental question)

Before going any further, there is one question which needs an accurate answer: Are you planning-at any time-to use your website for making money?

If you are not interested in making money with your website, you have a lot of options and we’ll cover some of those presently. But let’s make sure we’re on the same page about this money thing.

3 methods for making money with websites

Making money with a website is simple in concept. Here’s the gist of it:

  1. Sell your goods and services
  2. Sell other people’s goods and services
  3. Sell advertising

Often, people do well using a combination of two or three of these methods. This is important because choosing how your website is hosted often depends on what kind of business you plan to conduct. Specifically, do you want to be completely in charge of your own site, or do you want have your site maintained for you?

The difference between maintaining it yourself (self-hosted) versus having it maintained for you (hosted) is usually limitations based on the amount and kind of business you’re allowed to operated when your site is hosted for you.

Let’s take a closer look at the hosted and self-hosted models.

Hosted vs. Self-hosted

Finding a website hosting provider is the absolute first step for getting a web site. You have two choices:

  1. Hosted website: you allow someone else or a company to administer all of the administrative details in return for giving up control of capability and being subject to the host’s business conditions. Typically, websites hosted for free are required to serve ads for the hosting company, and not allowed to conduct business. With some fee-based hosting services, you may be allowed completely free reign for business activity (local statutes permitting).
  2. Self-hosted website: you have a high degree of freedom (limited mostly by statute) to use your hosting account for whatever purpose you choose. Most people start with what’s known as a shared hosting account, which is easy, fast and inexpensive, but will be outgrown as your website becomes more successful.

If you’re really serious about getting on the web, you’ve probably made the decision to use a self-hosted account. Since you’re here, you have also made the decision to use WordPress as your website technology.

Good choice.

Nearly all web site hosting providers now support WordPress, and most of these all have very easy-to-use installation scripts allowing to install your WordPress web site very quickly and easily.

As noted previously, shared hosting is a very good choice for getting started with WordPress, but it’s not your only choice. In fact, there are at least a half dozen popular hosting models, many of which are discussed in this very long article on WordPress hosting.

If you aren’t ready for self-hosting, and you aren’t sure you want to use WordPress, no worries. Just skip over this part to read about other useful website and blogging platforms.

Hey! You're in the middle of the Website In A Weekend eCourse. Learn how to create and operate a complete WordPress-based website in a single weekend. Start here: Website In A Weekend: Friday Evening - Off to the Races. (If you already have a blog... "audit" the eCourse... you'll find plenty to do.)

There are many hosting services, including Siteground, GoDaddy, Dreamhost and Bluehost, but I like Bluehost well enough to give it a recommendation and to become a sales affiliate. Bluehost’s terms of service will not allow affiliates to provide any financial incentive, otherwise I would – personally – provide a money-back guarantee for your satisfaction. I feel Bluehost is that reputable. Since I can’t provide such guarantee, here’s both affiliate and non-affiliate links:

Choose the link you feel most comfortable using.

You’re free to choose any other hosting service as well. If your choice of hosting services provides a cPanel administrative interface, that’s even better. You may even have a friend or relative who can provide free hosting. However, be aware that website hosting with friends should be done with care to preserve both your business and your friendship.

After you purchase hosting

Once you purchase hosting, you will get one or emails to:

  1. Confirm your purchase.
  2. Confirm your administrative username and password.
  3. Provide details for FTP accounts and other necessary services.

Save all of these emails! Label or tag them so that you can find them in the future. Print them out if you must, and put them into a folder or a binder.

Ready?

Great! You’re done here.

Now let’s get started installing WordPress.

Other website and blogging platforms

While self- (or paid-)hosted WordPress power the vast majority of small business websites, there are many other alternatives, both free and paid. Here are a few of the more popular.

  • WordPress.com: An excellent choice for many people who want the power of WordPress without the commitment of operating their own website. WordPress.com is owned and operated by Automattic, Inc., and it’s the same software running WordPress blogs and websites everywhere. Basic accounts for WordPress.com are free. If you would like to operate your business, a range of addon fees to provide a domain name, custom styling and like are available.

    If you’re a consultant, and business or engineering services are your focus, this may well be your best option.

  • Typepad: If you want a low hassle, high powered blog, you might check into Typepad. While not as large as WordPress, Typepad holds its own with bloggers who want to concentrate on writing more than marketing. Entry level prices are competitive, and very good value considering your maintenance costs (i.e., your time spent maintaining) disappear.
  • Blogger: One of the very first blogging applications, now owned and operated by Google. If you have a Google account, you can set up a Blogger blog very quickly. Blogger features posting by email, domain name mapping, Picasa integration for images and publication from Google Docs. If your blogging needs are not extensive, and your interest is mostly in hobby or perhaps technical blogging and not business or marketing, a Blogger blog may be all you need.

    Also, if you’re old school and haven’t checked out what Blogger has been up to lately, check out this article on design Blogger templates. You might be surprised. I was.

  • Posterous: If you write fast, post frequently, and your purpose is exposure, Posterous is happy to take care of most of the fiddly details for running a blog-driven website for you. I use Posterous for small blogging articles and snippets, half-baked ideas, crazy notions, all sorts of writing that isn’t appropriate for the main Website In A Weekend blog (what you’re reading here and now). Check out Website In A Weekend on Posterous.

    Posterous also features posting by email, for both public and private posts, custom theming, and you can operate your own domain name. This last feature is popular with small Silicon Valley startups who want to run a blog, but don’t have time to operate a full-blown WordPress site. It’s easy for them to set up a subdomain for their company blog using Posterous.

  • Tumblr: Do you take a lot of pictures? Make infographics? Create short yet rich, dense content? And you want it all done fast, free and easy? Tumblr may be the place for you. Actually, Tumblr isn’t exactly a “blogging” service. All content is treated more or less equally, in contrast to a blog’s emphasis on writing, with images, audio and video more as supporting elements. Perhaps even more interesting is Tumblr’s model for community and social interaction, which is similar to Twitter in the way: following another user’s Tumblr account results in that user’s feed integrating with yours. It’s very cool, and worth checking out in any case.

You may find one or more of these services useful as adjunct to your main WordPress powered site, for both SEO backlinking support and for reaching new user communities. Your mileage may vary!

Questions? Comments? Suggestions?

As noted in the preface, this article has been revised to reflect the current state of hosting for small business websites.

I’d be delighted to hear more about your hosting experience, both hosted and self-hosted, in the comments below.

Note: Every time this article refreshes, I get comment spam from hosting companies and affiliate marketers attempting to poach my readers (that’s you!) to sell you sketchy hosting packages full of promises and empty of benefits. If this is you, do not poach my readers! I will ruthlessly delete your comment.


  • Initially publication: January 26, 2009.
  • Updated March 14, 2010.
  • Revised and extended April 14, 2011.
  • Updated January 6, 2012.

How To Fix FTP Connection Error on Localhost WordPress

(Reading time: 6 – 9 minutes)

Updated January 27, 2012. Thank you for visiting. This is the most popular blog post on Website In A Weekend. Your +1 is highly appreciated!

Overcast and drizzling here in paradise, that is, the east side of San Francisco Bay. This is the second time it’s rained in June. It never rains in June here! Not since 1998 that I can remember. In any case, let’s see what else the day brings.

Since WordPress 2.8 is scheduled for release sometime today, let’s check out a copy of WordPress 2.8 from subversion, install it on localhost, and poke around a bit.

My handy instructions for 5 minute WordPress installation don’t work exactly the same when installing on locahost. I don’t have cPanel installed locally, so I had to create the MySQL database and database user manually using a cygwin shell window.

First look: no major changes obvious to me other than the spiffy theme browser. So, let’s install a new theme, right from the WordPress.org theme repository.

Uh oh… FTP Connection Information required.

FTP connection information required indicates permission problem on host

FTP connection information required indicates permission problem on host

The WordPress connection information is telling me I can’t upgrade because WordPress doesn’t have permission to write files new files on the host.

That’s not good, and it needs to be fixed, pronto.

This wasn’t a problem when I initially installed WordPress, because I manually copied the WordPress files to the correct location.

Short answer

Have your FTP information ready and type it into the form as required. You should have FTP account information as part of your web hosting account. If everything is working correctly, the installation should proceed without issue.

Longer story

When typing your information into the web form simply will not work, you need to investigate more:

  • Ensure your FTP account information actually is correct. If necessary, create a new FTP account with “known good” username and password. Make sure to test the new FTP account in an FTP client other than WordPress. Now try the above procedure again.
  • If you’re still having problems, check to ensure your directory permissions are set correctly. One way to check your permissions is to use the WP Security Scan plugin, which will scan your WordPress installation and let you know which file and directory (folder) permissions are correct, and which are incorrect.

By the way, if you’re finding this article useful, I send out updates to Website In A Weekend via the newsletter. You can sign up using the form at the top of the sidebar. Thanks!

If you’re a developer, check out more articles in Extending WordPress.

What if you’re running on localhost?

I’m running on localhost, I shouldn’t need to provide FTP information. So why the problem? Let’s poke around on Google and see what we get… using “wordpress connection information” gives us two likely pages from wordpress.org (here, and here), and “Why WordPress Asks for Connection Info” from Chris Abernethy. You should read all three of these pages, and if you’re running on a remotely hosted server such as bluehost.com, these three links should be enough.

If you’re running on localhost, read on…

(or skip down to what to do on your hosted server)
Fire up a cygwin shell window and take a look. You could almost as easily do this using Windows cmd shell, but I prefer cygwin and bash.

File system ownership change fixing FTP connection error

File system ownership change fixing FTP connection error

See the top red box? One of these things is not like the other!

All the WordPress installations running on localhost run as Admistrators, but wp28 is running as my username “doolin.” How did that happen? Hard to say. Perhaps a slight change in how 2.8 installs itself. That’s a matter to dig into deeper in the future. Right now, we have other work to do.

If you like this article and find it helpful, you could help me in return with a +1. Thanks!

Clearly, the ownership of the “wp28″ directory needs to be changed. Since I don’t remember exactly what the flag for recursive changes are using the “chown” command. It’s either “-r” or “-R” so let’s look it up first using the man page, as indicated by the blue arrow. The unix man page browser opens in a pager, when the pager closes, it advances one line in the shell; you don’t see the chown information in the screenshot.

Now that you have the correct information, issue the chown command as shown in the bottom red box.

All fixed!

But is it…?

One of my first tasks after installing a new WordPress blog is checking the security setup. It should be one of your first tasks as well. Downloading and activating Michael Torbert’s WP-Security shows us the following problems with respect to file system permissions:

Use WP-Security to check file system permissions

Use WP-Security to check file system permissions

That’s nasty. Now, since this installation of WordPress is running on localhost, it probably doesn’t matter all that much whether I fix them or not. But I should, and I will:

  1. Good habits are hard to make and easy to break. So just do it.
  2. Changing permissions is trivial using the bash shell from the cygwin command line. bluehost.com allows ssh access to a bash shell on the host, so I can use the exact same commands there in the future, if necessary.

When you get an FTP Connection error when upgrading or updating, block aside a little bit of time to dig into the problem, and prepare to learn a tiny bit of unix magic. It’s not difficult, and it will pay you back later.

Changing permissions on your web host

The easiest way to check your relevant permissions is to use the WP-Security plugin as mentioned above.

What I do when I find anything out of order is use the FileZilla FTP client to change the permissions to the correct values. There’s plenty of information on Google about how to do this, leave a comment if you want more explanation here.

Hat tip Hat tip : If you’re an advanced user, check out Viper 007Bond’s explanation of new capabilities for file system handling in WordPress 2.8. (Hat tip Ricky Buchanan from the comments.)