The MU forums have moved to WordPress.org

How to allow legacy subdomains existing alongside WMPU created subdomains? (8 posts)

  1. HiMY
    Member
    Posted 17 years ago #

    I’ll use ‘aa.org’ as the sample domain to help illustrate:

    Currently I have ‘aa.org’ and ‘www.aa.org’ resolving to a BLANK page.

    I wish to however use ‘www.____.aa.org’ where the ‘____’ would be a HARDCODED subdomain pointed to a subdirectory like ‘ww.aa.org/wpmu/_____’ etc.

    I need to create just about 400 subsites using subdomains, preferably with admin oversight with/from a single super or overall admin board/page.

    My wish is to NOT create a free blogging service with open registration.

    This would be 400 blogs on 400 subdomains off of a main domain (without interfering or interaction with the existing legacy subdomains currently pointing all over the place).

    I already have close to a thousand hardcoded subdomains pointing to various places on my server.

    By hardcoded, I mean I used my web hosting company's control panel to manually create the subdomain name and the subdirectory which houses its html files etc.

    Hence the virtual re-direction of wpmu has me puzzled at the moment…

    I hope my question and any feedback answers may help others.

    Is there such a thing as an '.htaccess' web form manager?

    Where one could simply log in, enter the subdomain (be it wpmu related or for non-wpmu related subdirectories) and then the subdirectory it points to, hit enter, log out resulting in the everything automagically working?

    Thanks in advance.

  2. andrewbillits
    Member
    Posted 17 years ago #

    I'm a bit confused by what you're wanting to do. Are you wanting to manually redirect all of the subdomains required by wpmu blogs to http://www.aa.otg/wpmu/username through htaccess?

    In other words http://www.blah.aag.org would be directed to http://www.aag.org/wpmu/blah.

    If that's the case you might be better off using wpmu with vhosts off. That in my opinion would make life easier for you.

  3. HiMY
    Member
    Posted 17 years ago #

    Thank you Andrew for your reply,

    I am a lost at the moment trying to decipher this .htaccess coding... and how to make a solution for my domain.

    Simply,

    I wanna treat my domain name as a top level domain similar to 'co.uk' or 'org.uk' etc etc.

    Currently I do not have wildcard DNS for my subdomains turned on.

    I simply log into my webhosting company's control panel, manually create the subdomain name and then I manually enter the subdirectory (or cname or other url elsewhere etc) it points to. It works.

    I have about a thousand urls (websites) pointing to as many subdirectories created this way, they all look like this:

    http://www._______.aa.org

    where the blank space is of course the sub-domain name I manually created using the web hosting company's control panel.

    Instead of me manually installing 400 more wordpress's, I wanna run wmpu to save me the hassel factor etc etc.

    I want those 400 new wpmu powered blogs to also look like:

    http://www._______.aa.org

    but without losing the functionality of the thousand or so previous legacy sub-domains.

    I do not wish to set up for example:

    http://www.blogs.aa.org/blog1,2,3, etc etc

    I do wish to end up with

    http://www.blog1.aa.org
    http://www.blog2.aa.org
    http://www.blog3.aa.org

    and so on.

    I imagine there must be others who have this exact scenario in mind as well...????

  4. mahpour
    Member
    Posted 17 years ago #

    I have domain.com which is working for other purposes. I want to allow users to have yourname.domain.com but I dont want to install WPMU on the root of the webserver.

    I have created a subdomain like blog.domain.com to use WPMU but users just can create yourname.blog.domain.com.

    is there any way to change yourname.blog.domain.com to yourname.domain.com??

    I know that we can use URL Rewriting using apache with RewriteRule command but I dont know how to use it?!

    any suggestions?

  5. drmike
    Member
    Posted 17 years ago #

    You would propbably have to rewrite a good chunk of the code to get it to do what you want it to do.

    You acn do it through rewrites but it would probably put a whole lot of strain on your box doing that amount of rewrites as well. Having to change out ever single internal link. Each individual post has usually 4-5 internal links. 10 posts on a page. There's 40-50 rewrites right there on top of the permalinks WP does already.

  6. marque1968
    Member
    Posted 17 years ago #

    I Join HiMY in his question.

    I have a couple of subdomains at aqmulate.com. They contain images and the likes which are linked all over the net.

    I now wish to install WPMU. However, I can not give up on my existing subdomains for legacy reasons.

    Is there a way to have the old subdomain like:
    marque.aqmulate.com
    still point to
    http://www.aqmulate.com/users/marque

    and have the new domains like for instance
    marque1968.aqmulate.com
    being part of the WPMU weblog?

  7. andrea_r
    Moderator
    Posted 17 years ago #

  8. drmike
    Member
    Posted 17 years ago #

    Someone remind me to stick this in teh FAQ when I'm online tomorrow please.

About this Topic