WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite won't work (10 posts)

  1. adamjg2
    Member
    Posted 10 months ago #

    I was wondering what the best way to setup WordPress for multiple sites is. I tried to do it locally on my local server Mac using MAMP with Apache. I can use WordPress as a single user just fine and tried to patch it for multi-site usage, but can't get it to work.

    Do I need to re-install WP from scratch for Muiti? I mainly want to work locally on my MAMP/Apache server to build a series of test sites.

    I used this tutorial to set it up:
    How to Setup WordPress Multisite
    http://www.youtube.com/watch?v=GwGC-_KH0jY&lc=zb3Tzh533nVoC1MOS-dSJC1hcKdw8pliuK0-Ou_NctY

    I get this message:
    "ERROR: You cannot install a network of sites with your server address localhost:8888/ajg/wp-admin/ne­twork.php"

  2. andrewmills
    Member
    Posted 10 months ago #

    I'm guessing it is because you are using port 8888 in your URL.

    Per the WordPress Codex, "Before You Create A Network" page:

    You cannot create a network in the following cases:

    "WordPress address (URL)" uses a port number other than ':80', ':443'.

    Can you change the port to either 80 or 443?

  3. adamjg2
    Member
    Posted 10 months ago #

    "Can you change the port to either 80 or 443?"

    Hi, how do I do that exactly?

  4. miller.seth.c
    Member
    Posted 10 months ago #

    I just did a google search for "mamp change port number to 80", since I use XAMPP personally. I think you might find your answer here.

    http://www.mamp.info/en/documentation/faq.html#q7

  5. adamjg2
    Member
    Posted 10 months ago #

    Thanks!

  6. adamjg2
    Member
    Posted 10 months ago #

    There's Apache Port at 8888 and mySQL port at 8889, which one do I change to 80 or do I do both?

  7. adamjg2
    Member
    Posted 10 months ago #

    Doesn't work when I changed it to port 80.

    Is there a problem running Mulit-site as localhost?

  8. Multisite with subdomains can be a problem. Some way you need to get a wildcard in there or if just testing, set up a few hardcoded subdomains in your hosts file.

  9. adamjg2
    Member
    Posted 10 months ago #

    "...set up a few hardcoded subdomains in your hosts file"

    How do I do that?

  10. adamjg2
    Member
    Posted 10 months ago #

    I tried to get it to work by changing but get following error message:

    "Multisite only works without the port number in the URL."

    ...when I use any number apparently.
    (http://localhost:8888/ajg/)

    Thanks to everyone for your help!

Reply

You must log in to post.

About this Topic