• ResolvedModerator keesiemeijer

    (@keesiemeijer)


    Hello I’m testing wordpress 3.0 and it looks really good. But I have trouble implementing the new Network (multisite) feature. I used Mamp and Headdress (Mac) to create the local site. This produces url’s like these: http://localhost:9016/ When I try to make a “Network” I get the following error: “Error: You cannot install a network of sites with your server address. You cannot use port numbers such as :9016.” What local address does work? Or is a network on a local site not possible right now? I would really like this feature for multilingual sites but I need the ability to develop local.

Viewing 7 replies - 46 through 52 (of 52 total)
  • In which case should I ignore the top level ‘wordpress’ dir in the zip and just copy everything inside it straight to my root?

    Yes, do this.

    Got it. many thanks.

    Thanks everyone,
    After following this thread somehow I got a local wordpress mutisite install working with subdomains. I started out following the instructions at http://espositosmusings.wordpress.com/2010/07/28/installing-wordpress-multisite-with-mamp-on-os-x/ and had some problems connecting to the apache server and the article doesn’t really apply to subdomains so I had to play with it a bit. In the end here’s what worked using MAMP:

    • In MAMP Preferences clicked “Set to default Apache and MySQL ports” which set ports to 80 and 3306, and under Apache set my document root to the local folder I’m using for my website
    • For hosts I added two lines (add mysubdomain2, mysubdomain3 etc):
      <br />
      127.0.0.1       localhost<br />
      127.0.0.1       mydomain.dev<br />
      127.0.0.1      mysubdomain1.mydomain.dev<br />
    • I noticed that I could access Mamp through mydomain.dev and mysubdomain1.mydomain.dev but it seemed like everyone was editing the httpd.conf file to include these so I went ahead and did it. Editing this originally is what was causing Apache to not connect, I must have been making a typo somewhere, but eventually this worked:

      <br />
      [code redacted]

      Some of that I'm pretty sure is redundant but it seems to be working so far!

    • In general though, maybe we can put our conclusions from this thread into somewhere that's more accessible? Like http://codex.wordpress.org/Create_A_Networkk or a new article.

    I ran into alot of issues as well wanted to share my experince’s. I’ve detailed it in this blog post: http://zanematthew.com/2011/01/23/wordpress-networking-on-mac-osx-part-ii/

    What I did was to use the apache2 from my macports install and not from MAMP or the default WebServer built into Mac OSX.

    You can actually put those lines in your host file on one line like the following:

    127.0.0.1 localhost pma.dev site1.dev site2.dev site3.dev cat.dev

    Also make sure you have permalinks enabled, and that AllowOverride All so WordPress can use the htaccess file.

    Combining this thread into 3 main sections (1. MAMP, 2. MacPorts, 3. Other) and possibly porting it into the codex I think would be a great idea, but setting up WordPress networking on Mac OSX is about 10% WordPress knowledge and 90% Unix/Apache knowledge/configuration. Not sure if WordPress is interested in having a whole section to configuring your local lamp environment.

    Check the codex to see if it exists already – it just might.

    If not, feel free to add it. Yes, you can, with the same login & username as the forums.

    has anyone tried virtualxHost to change url instead of hardcoding in apache?

Viewing 7 replies - 46 through 52 (of 52 total)
  • The topic ‘wordpress 3 network (multisite) on a local development site’ is closed to new replies.