• I have 20 local sites running with the default port 8888 setup in MAMP. (I’m using a mac)

    As I start a Multisite project, I realize that I should have everything on port 80 style defaults… but I didn’t do that! (new computer/didn’t think about it)

    I think the steps would be to change the ports and then do into each option table of each site and change the URLs. Is that all I need to do? How deep is a change like this? How will it affect all of the URLs that I migrate between the life site etc? What are the edge-cases I should watch out for?

    I’m weary… because I can’t really afford to make a big mess here. The other 20 sites are of a serious nature – and this multisite is just for fun.

    Can anyone help outline the steps so that I don’t bungle this up?

    Another MAMP error I’m getting while trying things out is “You configured Apache to use ports 80 and 443, but at least one of these seems to be in use.”

    I’d like some technical and moral support! haha. Thank you! : )

    • This topic was modified 5 years, 1 month ago by sheriffderek. Reason: Added not about db migration
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You need to identify which other app is currently using either port 80 or 443 and reconfigure its port or stop it from running while you use MAMP.

    URLs can be deeply embedded in the DB and be difficult to locate. If any occur in serialized data, it’s very difficult and error prone to edit such data manually. I suggest you use a plugin like Better Search and Replace to seek out all domain:port references and correct them. This plugin’s search and replace engine properly alters data that has been serialized.

    And of course, backup the DB before making changes to it. Then you can’t bungle things too badly, or at least recover if you do.

Viewing 1 replies (of 1 total)
  • The topic ‘Moving many sites from port 8888 to 80 with MAMP’ is closed to new replies.