Add Multiple WordPress Sites In Single VM Using Bitnami Stack

You have an extra space in your VM and you want two or more blogs. You wonder if you can use an existing VM to install another WordPress module. It's possible. Here is a step by step guide to install two WordPress instances in a single VM.

There is a procedure is to install a separate module of WordPress, unlike WordPress Multisite.

Connect to your Virtual Machine

You need to connect your Virtual Machine either using Git, PuTTY or whatever you’re comfortable with. You can do it through RDP.

Currently, only highlighted Website is installed on current VM.

Download LAMP Application Module

Now, you need to download WordPress LAMP Application module from by Bitnami. Copy the download link to your clipboard and write the command in the terminal and execute the command, mentioned below.

wget "lamp_module_download_link"

After the completion of the download, copy the downloaded file name, which is required by you later.

Install LAMP Application Module

After downloading, install LAMP module by writing the command, which is mentioned below.

~$ chmod a+x downloaded_filename
~$ ./ --wordpress_instance_name new_blog_name

Now, execute the command.


Do all these processes in Super User mood, or else you will need to change the permissions of the installation directory.

Complete WordPress Installation Steps

You need to go through the installation steps of WordPress module.

  1. Select language.
  2. Choose installation folder of Bitnami (i.e home/user/stack).
  3. Create Admin account.
  4. Enter defauld MySQL password (By default, it will be “bitnami”).
  5. Configure Email.
  6. Enter Blog’s name.

Let the installation begin.

After completion, head towards browser and access WordPress instance as, http://YOURDOMAIN/new_instance_name

Now, DNS doesn’t provide a domain, pointing to subdirectory, in case you’ll be needing it. I'll tell you in the next article how to do this.

If you have any issue, feel free to comment.