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:

  • Creating a Glossary for a WordPress Site with ChatGPT AI We created a custom glossary for a WordPress music arranging…
  • Why SEO is Better than Paid Google Ads Search engine optimization (SEO) and paid Google ads (PPC) are…
  • Converting WordPress Widgets for use in the Block Editor Learn how to convert old html widgets to a Block…
  • How to Change the Styling of a Column in the WordPress Block… To add or change the background color of a column…

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+
    Manage Cookie Consent
    We use cookies to optimize our website and our service.
    Functional cookies Always active
    The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Statistics
    The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
    Marketing
    The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
    Manage options Manage services Manage vendors Read more about these purposes
    View preferences
    {title} {title} {title}