Whether you work with WordPress as a designer or a developer, or you want to test out any WordPress plugins and themes, or you simply want to use WordPress to build your own blog, your should first always consider working on a local setup. In other words, using your own computer as your server.
Setting up your localhost environment directly through MAMP or XAMPP is usually the way to go, but in this tutorial I’m going to show you an alternative (that also uses XAMPP) that’s easier to use and quicker to set up – DesktopServer.
“Choose fictional domain names to personalise each of your projects and create dozens of virtual servers in seconds. WordPress designers and developers seldom work on a single project. Now you can create multiple isolated sites for web design or just for quickly and safely testing those plugins you’ve been meaning to try out.” – ServerPress
All it is is a local server package for both Mac and Windows with which you can create multiple “virtual servers” right on your own computer. They can be used to test new products or to develop a whole site, and they’re easily accessible in any browser.
Setting Up DesktopServer
This tutorial will focus on the installation of the free (limited) version of DesktopServer on OS X. If you follow the steps below you’ll have your test site up and running in just a few minutes.
Once downloaded, install it like any other application.
You will now be prompted to complete the setup. Follow the steps, and when asked about which product you wish to install, select New DesktopServer Limited Installation.
Once the installation is complete you’ll be prompted to close DesktopServer and restart it from your Apps.
When you open the app, you’ll be told that DesktopServer needs to run as an Administrator on your computer. Choose to “Yes. Restart DesktopServer with privileges” and click Next.
Next, you’ll be asked to start running web and database services Apache and MySQL. Choose “Yes” and click Next.
With both services now running, your next step is to “Create your new development site.”
Choose any Name you’d like, in this case I’ve left it as www.example.dev.
For the Blueprint it’s recommended to download the latest version of WordPress if it’s not available from the drop-down list. Once downloaded, drop it into the folder at Applications/XAMPP/blueprints on your Mac and it should appear in the list.
The Site Root is where you’ll be able to locate your development site and all the files associated with it.
Your configuration is now complete. Click on the link provided to finish your WordPress setup.
Last but not least, you’ll need to complete the famous Five Minute WordPress Install.
Your website is now up and running on your own computer.
Conclusions & Recommendations
DesktopServer offers a very valuable alternative to setting up a local server for your WordPress testing. Apart from what’s already been mentioned, there are a couple of other reasons that this setup wins out over others.
First off, when backing up your computer or moving a development site, the sites are stored in a Websites folder within your Documents, ensuring that you won’t forget where they are or to back them up, since the Documents folder is usually the first thing you back up.
Secondly, if you need to use a multisite setup or you want to develop multiple sites at once, you can do so by upgrading to DesktopServer Premium, and the ability to name the site anything you like together with the .dev solution used by DesktopServer minimises the chance of confusing it for your live site when making important changes.
To get a better idea of what DesktopServer offers that other alternatives don’t, you can take a look at their Comparison Matrix. It highlights all the important features that other setups lack.
Have you used DesktopServer before? What are your thoughts about it? If you haven’t, has this post convinced you to give it a go yet? Let us know in the comments below.