[resolved] Adding new sites under my current installation (6 posts)

  1. mium
    Posted 1 year ago #

    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!

  2. 2ninerniner2
    Posted 1 year ago #

    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

  3. JumboClicks
    Posted 1 year ago #

    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

  4. mium
    Posted 1 year ago #

    Thanks a million for the responses!!!!

  5. mium
    Posted 1 year ago #

    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!

  6. mium
    Posted 1 year ago #

    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).

Topic Closed

This topic has been closed to new replies.

About this Topic