How to host a WordPress blog on your computer

When I’m designing themes for WordPress, I find that working remotely can be a little troublesome at times; particularly when using stylesheet preprocessors such as LESS or SASS. I’ve been developing a number of WordPress themes recently, and to ease the load on my remote server, speed up the theme-building process, and receive an all-round smoother WordPress experience, I’ve found that working from a local installation gives me the edge.

So here’s my quick and easy way on how you can set your WordPress site to run from your home computer, too.

In this guide, you’ll learn the following:

  • How to set up your computer as a local server using MAMP;
  • configure your server to get it WordPress-ready;
  • install WordPress and host your blog from your local computer.

 Using this technique, you can set up a local WordPress site for your home network — perhaps a family blog, or personal diary. It’s also a great way to build and customise your themes quickly and efficiently whilst retaining the advantages of speed and flexibility that developing locally can provide.

How do you develop WordPress sites? What tips would you add? Let us know in the comments.

Featured image/thumbnail, local image via Shutterstock.

  • Matt Noodle Clark

    I love seeing these tutorials on how to set up for workflow.

    I’d love to see one for shopify (preferably on Windows as it seems much more complicated than on Mac OS.)

  • Esben Raakjær

    If you for some reason don’t use mac, alternatives to MAMP is XAMPP and WAMP.

  • Zell Liew

    I’ve recently did the same thing as well. Development is way faster on a locally hosted wordpress site compared to one on a remote server. Thumbs up!

  • Andy Bradbury

    This is great! How would I set this up for a website I’m already half way through working on remotely? I’m assuming download my files via FTP rather than a fresh install from, then download my databases from the server and import them via PHP MyAdmin?

  • Paul

    Definitely a good idea doing an installation on a local server, and when its finished it can be exported and imported when it is ready for uploading.

  • Support Team

    Quite impressive tutorials. Would love to hear more from you.