The MU forums have moved to WordPress.org

Wordpress MU w/o vhosts? (9 posts)

  1. manitoba98
    Member
    Posted 17 years ago #

    Is it possible to run WP on a single hostname, using an alternate syntax for the individual blogs (e.g: st-patrick.halayon-blogs.com >>> blogs.halayon.com/st-patrick)? I like the idea of an automated system for running multiple blogs (like MU), but I really don't need multiple vhosts flying around.

    Also, is it possible to make registration possible only by an admin?

    Thanks in advance!

  2. lunabyte
    Member
    Posted 17 years ago #

    Um, I don't think you understand how MU defines "vhosts".

    It isn't a literal virtual host.

    It means "virtual subdomain", just like what you want.

    Everything is out of 1 dir, 1 fileset.

    Try searching the forums to learn more.

  3. kingler
    Member
    Posted 17 years ago #

    Additionally, make sure you have wildcard *.yourdomain.com set up as well.

    To make registration only by an admin, you need to do some mods for wp-signup.php.

    We are planning to release a plugin for this actually. It will allow registration based on an invitation code.

  4. manitoba98
    Member
    Posted 17 years ago #

    I mean, I don't want WPMU messing with DNS entries, as our domain is used for the full entity, we only wish to dedicate one subdomain to blogs.

    I'm aware that it only goes out of one directory & fileset, which is fantastic, but I don't want the chaos that would ensue.

  5. lunabyte
    Member
    Posted 17 years ago #

    So you want to have usernames in a subdirectory format, but then access it by a subdomain format?

    It just doesn't work like that.

    MU doesn't mess with DNS.

    You make an entry before you set it up, and that's it. Plus the edit to apache's conf file.

    MU only interprets the request, and doesn't add anything to DNS or Apache.

    You make a single entry in your DNS, a "wildcard", and then you also add a wildcard entry to the virtual host in apache.

    1 edit each, and that's it.

  6. kingler
    Member
    Posted 17 years ago #

    If you just want to dedicate one subdomain to WPMU blogs, you can just install WPMU on that subdomain (WPMU does not require a root domain name to work)!

    Individual blogs can be installed as
    subdomain.mydomain.com/blogs/username
    or
    username.subdomain.mydomain.com

  7. manitoba98
    Member
    Posted 17 years ago #

    The sub-subdirectory thing might work, but I don't see why I can't just set it up to use the subdirectory format. What if I don't have control to set wildcard DNS entries? Is there a way to use the subdirectory format? (I don't see what lunabyte means: I don't want to use "subdomain format" at all!)

  8. kingler
    Member
    Posted 17 years ago #

    Sorry, my mistake here. You can definitely set up the subdirectory format like:

    subdomain.mydomain.com/username

  9. rmwb
    Member
    Posted 17 years ago #

    You set subdomain or subdirectory at install time.

    To do reg by admin only, remove any links to wp-signup.php and make the file unreadable by your server then the admin can login to /wp-admin/ and create users and accounts.

About this Topic