Tools you will want to administer Apache

You can edit the Apache’s config files using several tools. One of the best free tools is ApacheGUI. It lets you quickly view and edit the config files that you will work with while administering Apache.

Note: You could also use BBEdit, which is a great text editor that I own and which can be bought at a discount from the App Store.

A few comments about the installation process might be helpful for Mac users. It is a relatively simple installation.

Things to do before you install ApacheGUI

You will want to download and install a Java development kit (JDK) before installing ApacheGUI. I installed Oracle’s current JDK and have had no problem running ApachGUI.

Download and install ApacheGUI

You can download the application as a compressed archive from the download page for ApacheGUI.net. You then expand it into a directory that you will navigate to when you want to run it.

The installation instructions for setting up ApacheGUI assume you know how to navigate in the Terminal and run the script that starts ApacheGUI. All you need to know are the “cd” command that lets you change the current directory, the “ls” command that lists the current directory’s contents, and the command to run ApacheGUI that looks like:

./run.sh

In the terminal this would look like the following:

The screen shot above shows an example of navigating to the run.sh file in the bin directory and running it.

Configuring My New iMac as a Server

I got my new iMac thinking it would be relatively easy to use it as a Web server. There are a couple of different ways of doing this depending on whether you are going to be using it as a development machine or if you want to use it as Web server hosting sites on the internet.

Development Server Setup Using Mamp Pro

Mamp Pro is a program that lets you easily set up virtual hosts and controls whether either the Apache or Nginx servers are running. You can set up as many hosts as you want. They have a free version that can create one host, but if you need to create multiple sites you will want to go with Mamp Pro.

If all you are doing is setting up WordPress sites and testing them locally, this is an option that will get you up and running quickly and relatively cheaply at $69.

You can also set up your machine to use the version of Apache that comes as part of the Mac operating system.