WordPress.org

Ready to get started?Download WordPress

Forums

Best way to test Multisite installation on server? (14 posts)

  1. rughooker
    Member
    Posted 3 years ago #

    I currently have my website and several others installed in directories. I realize I need to install WP in my root directory to enable multisite. How can I do this for testing without disruption to my site? A list of steps would be helpful.

  2. I realize I need to install WP in my root directory to enable multisite.

    It will work out of a subfolder, if you pick subfolder blogs.

    It will NOT work if you put WP in a folder and move the index.php to run from the root.

    Wildcard subdomains on shared hosts are usually limited to the main domain on the account (the root).

    Handy dandy ebook http://wpebooks.com/2010/09/how-to-enable-multisite-in-wordpress/

  3. rughooker
    Member
    Posted 3 years ago #

    I am following the ebook above but when I click on the network option under tools I see the following message:

    We recommend you change your siteurl to MYSITE.com before enabling the network feature. It will still be possible to visit your site using the www prefix with an address like http://www.MYSITE.com but any links will not have the www prefix.
    Server Address
    The internet address of your network will be http://www.MYSITE.com.

    I'm confused. I installed a fresh WP in http://www.MYSITE.COM/multitest and set up an add-on domain name in my cpanel.

    This is something I will set up once and forget. I am not a programmer, so I don't want to spend a lot of time figuring this out and I don't want to continue the install and mess up what is already working.

    I checked with my host and they do not allow wildcard DNS.

    My goal after testing this is to do a fresh install in my root directory and migrate all my sites into that. I want to be able to have each site accessed by it's own name such as http://www.website1.com not http://www.mysite.com/website1 or http://www.website1.mysite.com.

    Is this even possible?

  4. We recommend you change your siteurl to MYSITE.com before enabling the network feature. It will still be possible to visit your site using the www prefix with an address like http://www.MYSITE.com but any links will not have the www prefix.
    Server Address
    The internet address of your network will be http://www.MYSITE.com.

    I'm confused.

    Confused about... ? What, exactly? If you want the www in there leave it. It's a recommendation, not a blocker.

    My goal after testing this is to do a fresh install in my root directory and migrate all my sites into that. I want to be able to have each site accessed by it's own name such as http://www.website1.com not http://www.mysite.com/website1 or http://www.website1.mysite.com.

    Is this even possible?

    Yes.
    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  5. rughooker
    Member
    Posted 3 years ago #

    Sorry, I wasn't clear. I'm not worried about the www. What concerns me is that I have my main website installed in a directory /blog/ and I have the WordPress address URL and Site address URL in General settings set to mysite.com/blog. So when visitors go to mysite.com they actually see mysite.com/blog. *I dropped the www on the general settings page.

    I'm confused by the second page under Network. The install says:

    The internet address of your network will be http://www.MYSITE.com.

    Will this overwrite what I am doing in the first paragraph? I am so out of my element. These questions are making php look easy by comparison.

  6. rughooker
    Member
    Posted 3 years ago #

    If I wanted to read up on these kinds of problems, what kind of books/classes am I looking for? What is the general topic for wildcard DNS, subdomains, .haccess, redirects, and other stuff like that.

  7. Will this overwrite what I am doing in the first paragraph?

    No, it;s just pulling the value you alreayd set.

    If I wanted to read up on these kinds of problems, what kind of books/classes am I looking for?

    There are no books or classes specific to multisite (yet).

    What is the general topic for wildcard DNS, subdomains, .haccess, redirects, and other stuff like that.

    General Apache server management, which is probably more than you want.

    Just... try it. backup so you can restore if things blow up.

    read my blog. read the forums. Try things. Put up a test install and play around.

  8. remyg
    Member
    Posted 3 years ago #

    I don't know whether this will help but that's how I'm carrying the testing right now.

    I have a mysite.com which I obviously do not want to put offline so I set up a subdomain sub.mysite.com and simply install another instance of wordpress in there, than turn on multisite and at the end comes buddypress. Everything seems to be working just fine.

    One important note: I'm operating the subdamain type of multisite url distribution system. Throughout tests I get to successfully set up blogs like blog1.sub.mysite.com, blog2.sub.mysite.com etc.

    In the DNS settings panel I did nothing but setting the subdomain. No custem DNS records, nothing like that. Am I lucky or what? :)

  9. Your host did all the work for you then. :)

  10. ttwajsb
    Member
    Posted 2 years ago #

    Andrea (or other expert/s),
    I had an essentially identical question, and so I downloaded the ebook for guidance on how to proceed. I already had a subdirectory setup, with my wp in a folder called /vanilla. I got the wp_config file set with define(‘WP_ALLOW_MULTISITE’, true); and was glad to see the Network Settings.

    So on that page I was told that my site url should be irfhe.org rather than http://www.irfhe.org or otherwise (or http://www.irfhe.org/vanilla as it had been, evidently). I changed the "Site address (URL)" only, to http://irfhe.org (it needed the http://) but I did not change the "WordPress address (URL)" because the instruction appeared to focus on the site instance of the URL, not the WordPress instance of the URL. Now my site is 404'd up the gazoo, and I'm unable to even get into my dashboard.

    Any tips? (Yes, I did back it up first, and I'm writing this as I await upload of the backup file so I can attempt a restore.)

    I wonder if I was supposed to change both URLs on the General page to the same. If that's the case, would you have any pull with the WP folks to have them revise the instruction to say more precisely what is meant? For instance, as noted above I was unable to change the name to simply irfhe.org--I had to put the http:// in front of it. That may be very obvious to the cognoscenti, but attempting to do exactly as instructed is what I fear has got me in this bind. I looked for guidance on this in the ebook but did not spot it. It would seem helpful for the zillions of newbs using WP if the instruction there were accurate, something like (if I'm right about this): "your URLs (both WordPress and Site) should say http://irfhe.org".

  11. I can fix the ebook because it's mine.

    The backend of WP can be fixed by anyone who submits a trac ticket. ;) No pull needed.

    Also - I think earlier in the tread I stated you could just leave the www there and continue.

  12. ttwajsb
    Member
    Posted 2 years ago #

    I was able to restore from my backup. When I changed the URLs to both read the root the network install proceeded correctly and I'm now running a multisite.

    Thanks for your help toward that end. I've read other of your posts as well and look forward to further reliance upon your skill and generosity.

    Troy

  13. ttwajsb
    Member
    Posted 2 years ago #

    I've poked around a bit and can't zero in on how/where to submit a trac ticket for WP. Possible to get a link to the page for doing so?

Topic Closed

This topic has been closed to new replies.

About this Topic