In my last two “Gettin’ Friendly” segments, we’ve talked about how to jazz up your wordpress sidebar and how to add photos and videos to your posts. But today, we’re going to talk about making a major wordpress move: taking your blog from wordpress.com to a self-hosted wordpress blog.
There are loads of reasons to choose self-hosting: maybe you want more control over the design of your website, want to use some plugins you’ve heard great things about, or you just think it is time to have your blog at a site with the domain name of your choosing.
That said, there are also plenty of reasons why you might choose to stay at wordpress.com: maybe the idea of having to deal with setting up a website is enough to give you hives or you want to stay with a free blog. Totally valid.
If you have decided you would like to take the plunge, here’s a step-by-step guide to getting your new blog site set up.
Pick a domain name and buy it. There are a number of places to buy your domain name. Personally, I use godaddy and dreamhost for domain names. Wherever you buy, registering your domain should not cost you more than about $10.00 a year, and the registrar you choose should not place any limits on how you manage that domain. (ie, transferring, DNS management, WHOIS contact information, etc.)
Choose a web hosting solution. Again, there are about a million out there. WordPress has some recommendations here. I use Dreamhost for this site (and, in fact, for most of my websites), but there are a lot of good hosts out there. GoDaddy always has great support, Dreamhost will install and manage upgrades of your WordPress software for you, and other hosts offer other perks. Just look for a host that guarantees uptime and supports the minimum requirements for a WordPress site (PHP 5.2.4 or greater and MySQL 5.0 or greater – most hosts meet these requirements.)
Install WordPress. If your host offers free wordpress installation, go for it. It is the easiest way to go. If they don’t, or you just want to do it yourself, here is how:
STEP ONE: CREATE A MYSQL DATABASE
WordPress stores all of your post information, user settings, and all of the info it needs to run in a database, and we need to set that up so that WordPress will have somewhere to put all of that information.
Make note of the following information: hostname, username, password, and database name.
If you have any trouble getting this set up, call your hosting provider – customer service can probably walk you through the steps.
STEP TWO: GET FTP ACCESS
What the heck is FTP? Glad you asked. FTP stands for “File Transfer Protocol” and it is the way that you are going to put files into your website. Your entire website is going to be made up of files. This is how we are going to get them in there.
In order to do this, you are going to need two things: FTP access to your website (which we are going to set up in a second) and an FTP client (application) that will connect us to the aforementioned website. I LOVE Filezilla, which is free and awesome, and has versions for both Mac and Windows. (But there are others. Google “FTP Client” and you will see many many options. )
Install Filezilla (or whatever FTP program you want to use). Now lets get FTP access to our site.
At Dreamhost, I choose “Manage Users” – this area, again, might be called something different at your host – maybe “FTP access” or something similar.
Make note of the following information: ftp host, your username, and your password
Again, if you have any trouble, contact your host – customer service will help you out.
STEP THREE: DOWNLOAD A COPY OF WORDPRESS
This is really easy. WordPress.org has the latest version of wordpress here. Download it as a .zip to your desktop. Bookmark this webpage, because it is a great resource. They also have their own installation instructions, which are pretty detailed. Check them out if you have any trouble. I’ll go ahead and give you my method, too, so you’ll have options. Ready?
STEP FOUR: UPLOAD WORDPRESS TO YOUR SERVER
Remember that .zip file you just downloaded? Unzip it.
Now open Filezilla. In the top of the window, you will see boxes asking for “host”, “username”, “password”, and “port”. Next to that will be a button that says “quick connect”. Lets fill those boxes in with the FTP information you wrote down in Step 2, and then lets connect by pressing “quick connect.”
Once we are connected, we’ll see some files on the right hand side of the screen. One of them should have the name of your domain. If not, click through the folders that do appear until you find one that has your domain name. This is your home directory Now we are going to find the wordpress file we just unzipped by navigating through the folders on the left hand side of the screen. When you find it, click and drag it into your home directory, and let Filezilla do its magic. You’ll see a tab at the bottom that says “Queued files” – when there are no more files in the queue, you are done. You can now close Filezilla.
STEP FIVE: CONFIGURE WORDPRESS
Yay! You are almost done! Now we need to set WordPress up, and let it know which database to store information in. Lets open our web browser of choice and navigate to www.yournewdomain.com/wordpress. You should see this:
Lets click to create the configuration file. Now you should see this:
and then this… this is where you are going to enter all that info you wrote down when you created your database in step one.
submit… you are nearly there!
and now this…
Fill this info in and you are done! When you press enter you will be prompted to log in to your site… and Presto! You’ve done it! Nice job!!!
If you have any trouble with this, you can also configure wordpress manually by editing the file “wp-config-sample.php”, saving it as “wp-config.php” and uploading it into the wordpress folder on your site. There are detailed directions on how to do this here.
Ok, take a deep breath. One more thing to do. If you’ve followed the steps above, you now have a live blog at www.yournewdomain.com/wordpress.
But you want the website address to be www.yourdomain.com, don’t you?
No problem.
Here’s what we do: Log in to your wordpress site at www.yournewdomain.com/wordpress/wp-admin.
Go to “settings” and “general”. Set the WordPress Address (URL) to http://www.yournewdomain.com/wordpress (this is the location of all your blog files,)
Set the Site Address (URL) to http://www.yournewdomain.com – (this is where you want folks to go to read your blog.)
SAVE this. Do not worry about any error message you may see.
Now, remember the wordpress file you have on your computer? open it up, and find the file named “index.php”. Open this file with a text editor, and find the line that says:
and change it to say:
Now save the file as “index.php” to your desktop, and open up Filezilla. Log in as you did before, and this time, you are going to drag the index.php file you just created to your home directory. Drop it in there. Now when you go to www.yournewdomain.com, you should see your shiny new blog!
Your admin login location will still be www.yournewdomain.com/wordpress/wp-admin, but your site will now be live at www.yournewdomain.com.
Whew!
We’re done. Next time, I’ll show you how to get your posts moved from your wp.com site to your new blog, and let you know about some amazing plugins you might want to use.
Anyone ready to make the jump into self hosting?
I love hearing your thoughts and questions! What else do you want to know about WordPress?



















22 Comments
I have yet to fully digest this powerful knowledge, but is the process pretty much the same if you started with a free wordpresscom.com blog and paid money for the domain name through them?
So, that is actually a little different. I believe that when you buy a domain name through wp.com, they simply add a redirect to your wp.com blog so that you can access it from a different domain. As I understand it, you would still have a wordpress.com blog.
The process outlined above is if you want to be free of wordpress.com and decide to strike out on your own, with nothing but the clothes on your back and miles of empty road stretching in front of you…
Oh, well…maybe one day when I need more functionality than what I currently have.
Or, if you get bored on a Saturday and just want to follow my tutorial for fun… MAD WHACK!
Can I even do that with the domain name I bought through WordPress?
I am not 100% sure, but I believe so. If you bought it, it is yours, no matter where it is hosted. I’ll look into it.
A ha! Indeed, you can.
http://en.support.wordpress.com/domain-mapping/domain-management/
Cool…bookmarked for future reference. Thanks
Fortunately I did not start off with WordPress.com. Can I tell you how happy I am about that one? To me, WordPress.com is a pain. I love being self-hosted and Laird, this is such a simple way to show how to do it! You are a WordPress Guru! Thanks Laird for all your help!
anytime, Karen! Thank you for stopping in!
Great instructions, Laird! I have done the free wordpress.com thing, the blogger thing, the wordpress.org thing, and even a little bit with Drupal. I like the freedom of design that comes with self-hosted wordpress. WordPress itself is a user-friendly engine, but I always hated the code restrictions in .com, even if I am fairly simplistic in my html edits. I really like being able to tweak a template how I want it.
me too! Wait…does that make me a tweaker?
Hi Laird. Wow, this is a really comprehensive write up that makes me really glad that my host has an option to install WP at the press of a button!
One thing I don’t like about a self hosted blog is that you don’t get the integration with wp.com for following blogs etc, at least not on my site.
One question I do have about WP is backup. I backup my site, but I’ve never put it to the test, because I don’t know how to restore the backup without the fear of messing up my exiting site. Any ideas?
Great info.
Cheers!
Hey Nigel! I know, the one-click installs are really nice. My host offers that, too, but I thought I’d spell it out since not all hosts do it, and I think godaddy charges something like $50 to install it for you!
As for backups: What I typically do is to “export” my posts from within wordpress (under tools) – then I save this. I do this every month or so. If anything ever happens to your blog, you can basically install a new blog and then “import” that same file, and it will put all your posts, pages, and comments back in place.
If you wanted to be super crazy thorough you could also back up your MySQL database, but its not going to back up THAT much more information that you HAVE to do that (it will save all your options and settings, as well as posts, etc.)
If you want to do that, though, the easiest thing is to see if it is an option in your web hosting admin panel. Many times they will do a backup for you to keep you from messing around in the database.
Hmmm – I’m of the ‘this gives me hives’ disposition. Which is mad, because I’m actually quite technical – just NOT when it comes to computer-speak. (shudders)
I would pay the money to have someone do all this for me!
However, I agree with Nigel’s comment re integration with other wp sites. I find I’m greatly valuing the alerts I get from wp for when one of my comments on someone’s wp blog gets a response. It means I catch direct responses to my comments, without having to subscribe to all comments. It also brings the wp blogs I follow into the wp iPhone App.
If I want to catch your response to this comment, for example, I have to either subscribe to ALL comments, or come back and visit… unless there’s something I’m doing wrong?
Yep, that is one thing self-hosting won’t do. Though, there is a great plugin called Jetpack that links your self-hosted blog to your wp.com username and lets people follow you via wordpress.com, and a few other things.
great instructions…but I now know why I hire someone to do that set-up part for me!!!
I know. When you write it all out, it sounds harder than it is. It really is pretty straightforward, I promise!
This is timely, Laird. I’m thinking about making the switch, but the scary stories about tech support and hackers are a little unsettling.
Thank you so much for putting together this detailed primer. You rock! (you already know that
Hey Fabio! Thanks for reading! You know where I am if you need any help!
Wow, Laird thanks for an amazing lesson. I couldn’t even write that post nevermind do it lol. I need to buy a domain quick before I do anything else.
I think writing it took me about 10 times longer than it takes to complete all the steps! lol… Go buy your domain!
One Trackback
[...] on me and pushed me. Check out Melinda’s no-nonsense guide to switching to self-hosting and Laird’s brilliant technical advice on wordpress, self-hosting, and website [...]