Install multiple wordpress, permissions problems

Really nice suggestion to stop all the services!

Here the result:

The support bundle was uploaded successfully to the Bitnami servers. Please copy the following code:


Consider anyway that actually the DOMAIN2 is on SiteGround (working with https), but I kept the conf folder to show you the configuration files.

Have a nice day!

Hi @zensabbah,

I don’t know why the bnsupport didn’t get all the Apache’s configuration files this time. It’s a really strange behavior. Can you ensure you are using the latest version?

cd /tmp
wget -O
sudo mkdir /opt/bitnami/bnsupport
sudo mv /opt/bitnami/bnsupport/
sudo chmod +x /opt/bitnami/bnsupport/
sudo ln -s /opt/bitnami/bnsupport/ /opt/bitnami/bnsupport-tool

In order to not to delay this more, I just sent you a private message with the information I need to help you. Please update this public thread as you have done previously when replying to the private’s conversation.


Private message sent ;).

Thanks again for your time

Hi @zensabbah,

I requested you some information that is missing in the private thread. Please ping me here when you update it.


Have a nice day Jota!

Hi @zensabbah,

Some questions to clarify the issues you are running into.

  • I can see that in the apache2/conf/bitnami/bitnami-apps-vhosts.conf file, you didn’t include the httpd-vhosts.conf file of your third domain, what happens if you do so and restart Apache? Can you access the site using http or https?
  • In the apache2/conf/bitnami/bitnami-apps-prefix.conf file, you should remove the wordpress’ httpd-prefix.conf file from the list.
  • What’s the value of the “ServerName” in the apache2/conf/httpd.conf file? That’s probably set to one of your domains and it makes the request use the default virtual host instead of the ones you set in the bitnami-apps-vhosts.conf file. Can you change that value back to localhost and restart Apache?

You shouldn’t do this, every app should be in a separate folder. What was the problem you were having when configuring the second domain?

  1. it’s not included now because I add it later as a subfolder. Which are the steps to move it as a separate app?

  2. Done

  3. Actually is the main domain. In the original httpd.conf the servername line is commented.
    It’s better that or use localhost?

KInd Regards


Hi @zensabbah,

This guide explains how to do so

If you have custom VirtualHost for your domain, and the ServerName in the httpd.conf file matches with your domain as well, that domain won’t use the custom configuration but the default one in the apache2/conf/bitnami/bitnami.conf file. If you use “localhost” as ServerName, the requests will use the custom configuration you have in the httpd-vhosts.conf file of the application. Remember to restart Apache after applying the changes.

  1. I tried to follow the guide to move the application out of the subfolder but it was unreachable.

  2. I have this inclusion in my bitnami.conf

Include "/opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf"

so finally the httpd-vhosts.conf file of the application is used anyway, isn’t it?

hi @zensabbah,

Yes, it’s included. But it’s used or not depending on your configuration. A virtual host is used to configure Apache with different domain names. However, if Apache is configured with your domain name (ServerName), the request will use the default virtual host (bitnami.conf file) not the custom one you created (httpd-vhosts.conf). That’s why I mentioned to configure the ServerName with localhost so Apache really uses the httpd-vhosts.conf file.

What do you mean with unreachable? What error message did you obtain?

I removed this: [quote=“jota, post:31, topic:79871”]
In the apache2/conf/bitnami/bitnami-apps-prefix.conf file, you should remove the wordpress’ httpd-prefix.conf file from the list.

and now the website says “welcome to bitnami” and when I try to login the url is MAINDOMAIN/wordpress and it’s not reachable

I should uncomment the line and restart apache to make it work again :frowning:

Hi @zensabbah,

Can you run the bnsupport again and send us the new outputted code? We would like to check you new configuration and logs. Can you also give us more information about to which domain name are you trying to access and getting the error?

Good Morning,

here we are!


This is strange, the bnsupport didn’t provide any meaningful information. Not sure if it is due to some permission issue. However, it seems that the domain you are trying to use is not configured in any of the apache files or maybe it is not being included. Could you double check that the proper http-vhosts.conf are being included?

Best regards,

Javier J. Salmerón

Was my answer helpful? Click on :heart:

Hi Jsalmeron, thanks for your help!

After some tips, I finally decided to move on nginx web server, so I’ll migrate on the next month to a new ls instance.

I found this two links but If you have more resources to share I’ll be happy!

Kind Regards


Hi @zensabbah,

I’m really sorry to hear that this was not resolved. Instead of moving to NGINX, you can also try to deploy another WordPress with Apache and start the configuration from scratch. Once the domains are configured, you will only need to migrate the data using this guide

If you really want to move to NGINX, I suggest you use our WordPress with NGINX solution.

The links you posted are the correct ones but you can also take a look at this other one

I also suggest you use this other link instead of the one you posted

This way, you will have one WordPress running in the instance. You can configure the nginx-vhosts.conf file of that application and ensure it continues working as expected. After that, you will need to follow the guides to install a second WordPress and you will need to configure the nginx-vhosts.conf file again to set the domain of that second installation.

Yes, my idea is to rebuild everything from scratch and considering the webserver usage statistics, it’s time to learn something new :wink:

I was thinking to deply another Lightsail machine with Bitanmi Nginx and the load some wordpress and Drupal on.

What’s the difference between my link and your link regarding the custom app?

Have a nice day


Hi @zensabbah,

The information is the same one. I only wanted to ensure you used the correct information for the solution you use in case the guide changes in the future. If you want to go with Bitnami, NGINX and Lightsail, go ahead and use the Bitnami NGINX solution. The guide you posted contains all the information to help you deploy a custom app.

Thanks a lot for everything!
Have.a nice weekend!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.