Support » Localhost Installs » Adding new sites under my current installation

  • Resolved mium


    I have one site installed on a localhost on my computer and would like to add more, separate sites for development. I am not sure where to create my new folder for the second (and subsequent) sites.

    My current installation was done using Bitnami as is located on my computer as: (Bitnami/Apps/Wordpress/htdocs).

    Under htdocs I have folders: wp-admin, wp-content and wp-includes. Please tell me where the new folder should go. I thhought it was to go under htdocs but then I don’t get how the wp-admin, wp-content and wp-includes fit into the picture with regard to what would then be multiple sites.

    My understanding is that after creating the new folder, I would then move the unZIPed installation package into it and run the install.

    Thanks in advance for any advice!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your current installation is in the root (htdocs). For subsequent sites you are correct; create a new folder in htdocs and place the unZIPped files/folders into it. Repeat for as many sites as your hard drive has room for, and they don’t all have to be WP (most PHP/MySQL scripts – Joomla!, eFront, PrestaShop, Drupal, etc. – should work with Bitnami; I can’t say for sure because I have only used Bitnami once, but other local servers – XAMPP, WAMP, Uniform Server – can do this).

    If you now access your local install with http://localhost you would access another WP install (e.g. wordpress2) with http://localhost/wordpress2

    Just add the name of the folder where the new site is to http://localhost

    before you start getting nutty with all the software installs

    you need to learn about virtual hosts and Apache

    that is where you install apache
    the document root for the server is htdocs

    and then you setup virtual hosts in your apache conf file

    http://localhost www\htdocs (MAIN SERVER DOCUMENTATION)
    http://mywordpress www\mywordpress
    http://myotherwordpress www\myowordpress
    http://drupalsucks www\drupal

    you put the url in the browser and the server points to the correct directory to get the files.

    If you only want one install you can replace the htdocs with whatever you want.

    it might take you a day to figure out virtualhosts and setting up your

    .host file in your c:\windows\system32\drivers\etc

    but once you get it going you will be much happier

    Thanks a million for the responses!!!!

    OK…before tackling virtual hosts, I decided to try a subfolder in the root for a 2nd site. I unzipped WordPress and thought I was on my way, but I can’t create a database. First I logged into phpmyadin using the main (root?) user and password and got a message that I do not have privileges to create a database. When I log into phpmyadmin with the username/password of the 1st website (in my root) it looks like I have privileges to create a database but when I try to create one (wp_site2) then I get a message ‘#1044 access denied for user ‘site1@’ to database ‘wp_site2’. I don;t know what to do next. Any help will be greatly appreciated!

    I figured out what I was doing wrong. I needed to log into myPhpAdmin with a username of ‘root’ (along with a previously established password).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding new sites under my current installation’ is closed to new replies.