Tutorials, how-tos & reviews for online entrepreneurs.

How to build your website locally, with MAMP and WordPress

What is MAMP?

MAMP is a local development environment that allows you to design, build, and test your website on your computer. It is best practice to work locally in the early stages of your project, as it gives you complete control over your work envoirment and allows you to work independently from your web hosting.


The benefits of working locally

In this tutorial, I show you how to install WordPress on your own computer using MAMP.

As I mention in the video, I highly recommend working on your computer (or working “locally”) until you are ready to publish your website online.

This way you can play around with your website as much as you want without relying on your web hosting.

Although most web hosting providers offer staging areas that achieve the same thing, I find it’s usually best to hold off on working with a staging site until your website is live.

Here are some of the benefits you can enjoy from working locally.

1. Control of your environment

Developing your website locally allows you to have complete control over your development environment.

2. You can work a lot faster

Because you are working on an independent local environment, you can test lots of changes a lot faster. This is because with MAMP, you are developing on your own computer and are not sharing any server resources with anyone else.

3. You can work offline

And the best part, with MAMP you can work offline, which is super useful if you are working in an area with no internet connection.

Issues with Staging Sites

My website is hosted with SiteGround, and because my website is already live, I use a staging website to push changes to the live website when I need to.

However, in the early stages, I used MAMP as illustrated in my video.

I personally find that working on the staging area to be temperamental at times.

While Siteground does deliver blazing fast web hosting, their server-side caching infrastructure can be a pain to work with.

I have found this to be the case especially when pushing updates from Siteground’s staging area to my live website, FounderCopilot.com

Screenshot of SiteGround's Staging area
SiteGround’s Staging Area

How would you feel if you worked on a few style updates, and when you push the update to the live website, you don’t see the changes you made, even after you clear the browser’s cache! Frustrating right?

Well, this is something I have experienced a lot when working on my own staging site.

Screenshot of my staging website

Even after clearing the cache in the browser and “flushing” or “purging” the cache of Siteground own SG Optimizer plugin, I have still not been able to see the updates I made on the staging website.

CSS inspector showing live site without pushed updates displaying
Screenshot of my live website

This is just one example of many I have come across when working with the Staging website, and I plan to cover this topic in more detail when I review Siteground’s hosting.

However, with MAMP you don’t have to worry about any dependencies as you simply make your changes and see it on the browser right away.

Stay tuned for more updates on this topic.

Niall Conway

Niall Conway

Founder & Marketing Director
FounderCopilot.com

I am an online entrepreneur who helps people build, launch, optimize and monetize their online business with Wordpress, SEO, Affiliate Marketing, Adsense and a whole lot more.

On my website and on my Youtube channel, I share the skills and insights I have built up over the last 10+ years while working as a freelance designer/developer and while founding several digital businesses of my own. Read more...

Add comment

Share via
Copy link