The MU forums have moved to WordPress.org

Cant we install wordpress mu directly in localhost?? (8 posts)

  1. mr_prateekjain
    Member
    Posted 16 years ago #

    While accessing wordpress-mu from "http://locahost/blogs"
    It gives error
    Installing to http://localhost/ is not supported. Please use http://localhost.localdomain/ instead.
    Is there no way to install it from localhost without using sub-domain??

  2. delayedinsanity
    Member
    Posted 16 years ago #

    Just out of curiousity, what kind of a set up is that on?

  3. mr_prateekjain
    Member
    Posted 16 years ago #

    I am working on apache and trying installing it directly in localhost instead of localhost.localdomain... Is there any way out to do so???

  4. delayedinsanity
    Member
    Posted 16 years ago #

    Oh I didn't ask, are you trying to set it up as a sub-domain install or as a sub-directory install? Because I could see how a sub-domain setup would balk at being on localhost. Second question is, Apache on Windows, or Apache on Linux, because the steps if you really need to set it up as a sub-domain install is different for one or the other.

  5. mr_prateekjain
    Member
    Posted 16 years ago #

    I am trying to install it as a sub-directory... Using Apache on Linux.

  6. delayedinsanity
    Member
    Posted 16 years ago #

    It should be as simple as adding

    127.0.0.1 localhost.localdomain

    to your /etc/hosts and setting up a new VirtualHost on Apache,

    <VirtualHost *:80>
            ServerName localhost.localdomain
            ServerAdmin you@localhost.localdomain
    
            DocumentRoot /var/www/localhost/
            <Directory /var/www/localhost/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
    </VirtualHost>

    Off the top of my head. Somebody will correct me if I've made a typo. ;)

  7. mr_prateekjain
    Member
    Posted 16 years ago #

    I got it... I even installed it in localhost.localdomain.. But my question was that is there any way to install it in localhost without using localhost.localdomain.????

  8. andrea_r
    Moderator
    Posted 16 years ago #

    "is there any way to install it in localhost without using localhost.localdomain.???? "

    No. You have to add it to the hosts file as specified. If it were possible, you wouldn't get that message. :)

About this Topic

  • Started 16 years ago by mr_prateekjain
  • Latest reply from andrea_r