http://premium.wpmudev.org/blog/how-to-install-wordpress-and-multisite-locally-on-macos-x-with-mamp/
If you’re planning to move these sites to a remote server, be sure to check that your host 1) allows for multi-site installs (not all hosts do!) and 2) if you want subdomain sites instead of subfolder sites you’ll need a dedicated IP address so you may need to upgrade your hosting package.
In my experience, multi-site installs are most useful if you are developing themes, plugins and so forth but less useful for managing live sites. The headache of logging into separate sites to manage them is overcome by the many plugins that don’t play well with multi-site and the initial trouble of setting it up in the first place.
I need to build several completely separate sites
Then that is what you need to create in MAMP. Multisite is not for this sort of scenario.
Basically duplicate what you did for the first site for each additional site required (given that you installed the first one into a folder within Applications/MAMP/htdocs)
For each required local site:
– create a new folder within Applications/MAMP/htdocs
– copy the extracted WP files and folders into that folder
– create a new, empty database using phpMyAdmin
– keep things simple: use the default MAMP database user and password: root and root
– keep things simple: use the default MAMP settings for document root and server ports
– run the install for each using http://localhost:8888/folder_name
Lyle,
Thank you for clarifying!
Okay, now I have a new folder under Applications/MAMP/htdocs called creekside.
I have extracted WP files and placed into the folder, also created an empty database named “creekside.”
It sounds like from your reply, now I need to run another install of MAMP? If so, then if I remember right from my last install, I’ll be prompted to set up the default user/pass and doc root/ports. Do I need to have 2 paths for each site with 2 different installs of WP and MAMP?
Applications/MAMP/htdocs/creekside_site
Applications/MAMP/htdocs/willows_site
Hope this makes sense-Just want to make sure I get this right.
Thanks!
It sounds like from your reply, now I need to run another install of MAMP?
Nope! 🙂
All local sites go into the one MAMP installation, just as you have shown:
Applications/MAMP/htdocs/creekside_site
Applications/MAMP/htdocs/willows_site
Within MAMP, the folder htdocs is what is known as the document root or website root; this is where ALL sites go for this install of MAMP. One organizes them into separate folders within htdocs so that you are able to have more than one site per MAMP.
You will need and use as many unique paths as you have sites in your MAMP install. And they don’t all have to be WordPress. You can install Joomla!, Drupal, Prestashop, plain old HTML sites, etc. The only limit is the amount of hard drive space! 🙂
So then, to start the WP install for the Creekside site, enter this into your browser:
http://localhost:8888/creekside_site
And for the other one:
http://localhost:8888/willows_site
Once installed, you access the log the sites by adding /wp-admin after the site URL; e.g.:
http://localhost:8888/creekside_site/wp-admin
Further to the above:
Once you start the install, please use the Create a Configuration File button on the screen where it is presented 🙂
Then at the screen where it asks for the database connection info, this is what you will enter:
Database Name: creekside
User Name: root <the default MAMP database user>
Password: root <the default MAMP database password>
Database Host: localhost
Table Prefix: wp_ <leave as-is>