jbQ Media

Web Design, SEO Services and Media Production | Yonkers | Westchester | NY

(917) 861-1242
  • Home
  • About
    • Why Us
    • Jon Burr | Site Designer
    • Our Rates
    • Contact
    • Our Location
    • News via Twitter
  • Our Services
  • Photography
  • Articles
  • Reviews
  • Website Portfolio Gallery
You are here: Home / Services / Consulting / Publish | Mac Dev Site | Wordpress | MAMP Pro | Linksys Router | DYN Pro | Simple Directions

Publish | Mac Dev Site | WordPress | MAMP Pro | Linksys Router | DYN Pro | Simple Directions

February 11, 2015 By Jon Burr

Setup and Migration of a WordPress local dev site using MAMP Pro

How to set up a local WordPress dev site on your Mac, publish it from your machine, then migrate it to the production server using MAMP Pro and Dyn.

(If you’re going from a live site to a local dev site, read this instead)

screenshot of MAMP Pro settings

Setup in MAMP Pro

1. Setup in MAMP Pro for dev and web sharing

  • Set user permissions to www
  • Set IP address to machine’s static IP as defined in your Linksys router/connectivity/local network/dhcp reservations
  • Set port to 80
  • Turn on Dyn Dns in Mamp Pro
  • Install Wp into created local domain
  • Develop the site

2. To take your dev site live from MAMP

Set up your router with a static IP for your local machine and port forwarding to let incoming traffic on Port 80.

Static IP

  • In your Linksys Router’s admin, reserve a DHCP address for your machine.
  • In the Connectivity/Local Network tab, hit the DHCP reservations button and click the checkbox next to your machine. Click “Save.”

Port Forwarding

  • (Works on newer routers with Smart Wifi)
  • Go to Security/Apps and Gaming tab/ Single Port Forwarding (button)
  • Application Name – whatever you want. I chose “MAMP.”
  • External and Internal port – both 80
  • IP address – enter it,  same as your DHCP reservation. Click save.

->Don’t use the DYN tab in the router.

Although you could set up DYN in the router and not in MAMP Pro – it’s either/or –  Port Forwarding is simpler, and the success of this tutorial depends on it. Just remember to turn it off in the router (and/or shut down MAMP) when you’re not showing the site to your client. I use Little Snitch for outbreaks of security paranoia, to monitor traffic in and out of my Mac.

Get your ISP and Dyn working

diagram of mamp screenshot

Look at these options above and verify them

  • Make an alias domain in Dyn.com account, picking from their options
  • Open port 80 in your ISP (mine is Optimum). Ask them how if you can’t find it. You may need to upgrade your account to permit it.
  • Add Dyn alias to your dev site instance  in MAMP and turn on Dyn server in MAMP options
  • My Linksys router already has port forwarding set up (security/games tab). Set it up if yours is not – follow the tut for your router in Dyn’s support pages – they have specific support for Linksys.
  • Use Dyn port checker via its support/wizard. Should be all set.

Use the Dyn domain url for remote access, while continuing to use the MAMP Pro domain url for local access.

***Add Relative URL plugin to WordPress install***– otherwise you’ll lose the connection to your css for remote viewers.

3. Migrate to new server:

  1. Create new DB, user, pw on target server
  2. find or confirm sql hostname in target server cPanel info
  3. Export db from dev site using WP Migrate DB, changing to live url, **including // but not http:** in the plugin’s url options
  4. Change admin pw if necessary
  5. Copy config.php on local server and change database connection details to match the ones created in steps 1 & 2
  6. FTP the site files over to the new public_html or whatever your designated new directory is on the new server
  7. Overwrite config.php with your file from step 3

Here are 2 valuable tutorials:

Alex Bachuk

Dyn Wizard

Related Posts:

  • Migrating a WordPress Site if Wordfence is… Duplicator will fail if Wordfence is installed. Other plugins and…
  • Privacy Policy Who we are Our website address is: https://jbq.net. What personal…
  • Upgrading an old HTML site with a WordPress blog to… Create a new WordPress site from a mixed HTML/Wordpress blog…
  • WordPress 5.0 and Gutenberg - What it Means for… For a gradual transition to Gutenberg, install the WordPress Classic…
  • Connecting Calendly to Zoom Connecting Calendly to Zoom is confusing to do but powerful…
  • Our Website Gallery finaleclasses.com hopesdoorny.org wellnessdecor.com katoglobalfitness.com checkrare.com ramirezllc.com cinemadiscourse.com arrangerforhire.com pyramidgeophysics.com jonburr.com…

Filed Under: Consulting, Site Migration, Tutorials, Useful Tools, Website Design Tagged With: Dyn, Linksys, MAMP-Pro

Site Search

Our Services

  • WordPress
  • SEO
  • Strategy
  • Consulting
  • Website Design
  • Useful Tools
  • Tutorials
  • Editorial

Contact us now! :)

Why delay? Initial consultation is on the house!

call (917) 861-1242

    Your First Name (required)

    Your Last Name (required)

    Your Email (required)
    (please double-check it!)

    Subject
    Contact from jbQ Media Website

    Your Message

    *required


    Subscribe me your mailing list

    Human?*

    • Production
    • WordPress Sites
    • Strategy
    • SEO
    • Websites
    • Editorial
    • Contact
    • Terms of Service
    • Cookie policy

    © 2014 jbQ Media

    Google+