The MU forums have moved to WordPress.org

Is there possible to install 2 wpmu or more in 1 domain? (14 posts)

  1. lutfiallail
    Member
    Posted 13 years ago #

    Hello.

    I am the owner of guidestobuy.com, i am using WPMU on my site with subdomain based.
    example: bicycle.guidestobuy.com,calendars.guidestobuy.com

    Now i want to install 2nd WPMU on subdomain of my domain with directory based.
    example: automotive.guidestobuy.com/replacementparts, automotive.guidestobuy.com/steeringsystem

    Is there possible to do that?
    Thank you.

    Best regards,
    Lutfi
    guidestobuy.com

  2. VentureMaker
    Member
    Posted 13 years ago #

    Install 1 WPMU on guidestobuy.com with subdomain option. Add automotive to the list of banned names to prevent problems.
    Then install another WPMU on automotive.guidestobuy.com with subdirectory option.

  3. lutfiallail
    Member
    Posted 13 years ago #

    VentureMaker,

    I try your suggestion, but it show an error:

    Fatal Error
    If your blog does not display, please contact the owner of this site.

    If you are the owner of this site please check that MySQL is running properly and all tables are error free.

    Database Tables Missing.
    Database tables are missing. This means that MySQL is either not running, WPMU was not installed properly, or someone deleted wp_site. You really should look at your database now.

    What do I do now?
    Read the bug report page. Some of the guidelines there may help you figure out what went wrong.
    If you're still stuck with this message, then check that your database contains the following tables:

    * wp_blogs
    * wp_users
    * wp_usermeta
    * wp_site
    * wp_sitemeta
    * wp_sitecategories

    If you suspect a problem please report it to the support forums but you must include the information asked for in the WPMU bug reporting guidelines!

    I have try to recreate database, but still error.
    Could you help me?
    Thank you

    Best regards,
    Lutfi

  4. VentureMaker
    Member
    Posted 13 years ago #

    Is this the problem of both WPMUs?

  5. SteveAtty
    Member
    Posted 13 years ago #

    You will need a separate virtual host directive with its own directory for each of the subdirectory installs. I assume you've set that up properly?

  6. lutfiallail
    Member
    Posted 13 years ago #

    @VentureMaker
    No, it's only the problem for my 2nd WPMU installation (WPMU on root is okay, but on subdomain is error).

    @SteveAtty
    Could you tell me how to do that?
    I have created subdomain through direct admin control panel.

    Thank you.
    Lutfi
    guidestobuy.com

  7. lutfiallail
    Member
    Posted 13 years ago #

    @VentureMaker
    FYI, after i remove

    && !file_exists( dirname( dirname(__FILE__) ) . '/wp-config.php')
    , installation is done, but nothing show up, as you can see at http://automotive.guidestobuy.com/.

    Thank you.
    Lutfi
    guidestobuy.com

  8. VentureMaker
    Member
    Posted 13 years ago #

    Why do you remove these lines?

  9. lutfiallail
    Member
    Posted 13 years ago #

    Because it's check in WP that goes up one directory to see if a config file is there, I got from http://mu.wordpress.org/forums/topic.php?id=11273

  10. SteveAtty
    Member
    Posted 13 years ago #

    I know how to configure it by creating new apache site files but no idea how you'd do it through a control panel.

  11. lutfiallail
    Member
    Posted 13 years ago #

    @SteveAtty
    I read my virtual host configuration, and it look same.
    Do you mean that I need to assign dedicated IP for my second WPMU too?

  12. Trent
    Member
    Posted 13 years ago #

    No, I think he means a second virtualhost in your apache httpd.conf file I believe. I have 3 installs on the same server all using same IP. Just using different virtualhost containers for each in my apache configuration file.

    Trent

  13. SteveAtty
    Member
    Posted 13 years ago #

    Thats exactly what I meant Trent.

  14. andrea_r
    Moderator
    Posted 13 years ago #

    Yep, that's what you do.

About this Topic

  • Started 13 years ago by lutfiallail
  • Latest reply from andrea_r