Keywords: Joomla - Amazon Web Services - How to - OtherDescription: Hello community. I am attempting to create a multisite for Joomla:
site1.com subsite2.com subsite3.com subsite4.comThe process works smoothly, files, are uploaded to sub folders.but subsites are displaying files of site1
CustomLog "logs/site1-access_log" common
CustomLog "logs/subsite2-access_log" common
CustomLog "logs/subsite3-access_log" common
I have followed the following AWS instructions, but apparently more needs to be done.Are there any steps I am missing. ====1. Launch an EC2 instance from the desired AMI (Wordpress/Joomla).
If you have launched an instance from the above AMI, all the applications would be pre-configured with proper steps on how to launch your own website.
Take the public IP address of your instance and create an A record for each of your domain pointing to this IP address. As the IP address of an EC2 instance can change due to a state change, you can attach an Elastic IP (EIP) to the instance to avoid constant changing of the records.
Go to the website's root directory in the instance (which can usually be found in /var/www/html if only httpd is configured, in Joomla its found in /jet/app/joomla).
Upload all your content of your root website (NFPInitiatives) here.
Make separate directories inside the root directory for your different sub-websites.For example: # mkdir domain1 # mkdir domain2
Upload the content of each sub-website in their respective directories
Go to the httpd.conf file, It can be found regularly in "/etc/httpd/conf/httpd.conf". It can be found for Joomla instance in "/jet/etc/apache/httpd.conf".
Add multiple virtual hosts below the "Listen 80" line in the httpd.conf. You might have to change the port number (80) if you wish to use https protocol. I have attached examples of virtual hosts below: ServerName domain1.com DocumentRoot "/var/www/html/domain1" ErrorLog "logs/domain1-error_log" CustomLog "logs/domain1-access_log" common
CustomLog "logs/domain2-access_log" common
Restart the apache service.
You should now be able to run all the websites together.
==Also My domains for the subsite are A Recorded to site1's IPDo I need to do anything with the my domain host Godaddy
This section of our documentation explains how to install several instances of Joomla in the same server, can you check it?
Please let us know if you have any questions.
Regarding the guide you mentioned, could you please share the link of that guide so we can check it and improve our documentation if that configuration is valid in the Bitnami solutions?
Hello jota and community,
I have followed the instructions for Site1.Site1 is viewable
How do i setup Site2?I downloaded :: bitnami-joomla-3.8.10-0-linux-debian-9-x86_64.ova :: to create Site2.
Where on the server do I place the file and what are the sudo commands to run it.
Will it overwrite everything I have already done?Could you please explain?
Hello jota, Q. I have joomla 3.8.10 is that the proper wget installer?The instructions state ::--Install A New Joomla! ApplicationFollow these steps:
Download a new Joomla! module from the Bitnami website and install it on the server. Here are example commands for the Linux platform:
wget https://bitnami.com/redirect/to/35442/bitnami-joomla-3.3.0-0-module-linux-x64-installer.runchmod a+x bitnami-joomla-3.3.0-0-module-linux-x64-installer.runsudo ./bitnami-joomla-3.3.0-0-module-linux-x64-installer.runDuring the installation process, choose /opt/bitnami as the installation path when prompted.
You should now have two Joomla! sites using the same Apache and MySQL servers.--
I have upload the files for Site1 to Site1/Site2.Can I just move sudo mv files from Site1 to Site2
Thank you for your help.
This is the statement, support made: By doing these steps, you should be able to run multiple websites simultaneously:
Launch an EC2 instance from the desired AMI (Wordpress/Joomla).
Update:1. Kindly make sure that the content in the sub-directories isn't overlapping, that you have only the content of the subsite in its directory.
Your output should have a line like "*:80 localhost (/opt/bitnami/apache2/conf/bitnami/bitnami.conf:8)"
Make sure that the new directory for the other domain(say 3starplus) should not have root permissions.To check the permissions, do the following$ cd /opt/bitnami/apps/joomla/htdocs$ la -alFor your new directory, you should get an output like this:"drwxr-xr-x 2 bitnami daemon 4096 Aug 1 05:07 dom2"If instead of bitnami and daemon, your user and group permissions show "root root", run this command-# chown -R bitnami:daemon dom2Kindly keep in mind that the above command will only run if you are the root user. Run "sudo -i" if you are not the root user.
Kindly check if you have successfully restarted apache.
If you moved the joomla's folder to joomla1 (or site1) following our documentation, you can now install the latest version of the Bitnami Joomla module in the same server
Please note that you do not need to download the .ova file, you need to download the module
chmod +x bitnami-joomla-3.8.11-0-module-linux-x64-installer.run
I hope this helps
@jotaThank you.Following the directions once again -- and have run in to information wall.
Documentation states, "During the installation process, choose /opt/bitnami as the installation path when prompted."
After entering the documentation response, I received the following prompt::
Please select the installation language English - English Spanish - Español Brazilian Portuguese - Português Brasileiro Simplified Chinese - 简体中文 Hebrew - עברית German - Deutsch Romanian - Română Russian - РусскийPlease choose an option  : 1
Welcome to the Bitnami Joomla! Module Setup Wizard.
Please choose a folder that contains an installation of Bitnami.
Select a folder : ^Cbitnami@ip-172-31-67-143:/tmp$ /opt/bitnami-bash: /opt/bitnami: Is a directorybitnami@ip-172-31-67-143:/tmp$ ^Cbitnami@ip-172-31-67-143:/tmp$
Command not foundbitnami@ip-172-31-67-143:/tmp$ Installation folder^Cbitnami@ip-172-31-67-143:/tmp$ /bitnami-joomla-3.8.11-0-module-linux-x64-installer.run-bash: /bitnami-joomla-3.8.11-0-module-linux-x64-installer.run: No such file or directorybitnami@ip-172-31-67-143:/tmp$
QUESTIONWhere is the folder that contains an installation of Bitnami? So I can complete the process.Are there any other things that will be requested during this installation process? If so, where are they and where do they go?
Thank you for your help.Wrina
??? Will a support plan purchase prevent this from taking an additional three days ???
Will a support plan purchase prevent this from taking an additional three days ???
Unfortunately, we don't provide any paid support plan.
From the output you showed:
Select a folder : ^C
It seems the installation was aborted by pressing Control-C. The folder containing the Bitnami installation is indeed /opt/bitnami. You would need to type this when the wizards asks for it and press Enter.
As an alternative, you could provide this option as a command line argument when launch the installer:
sudo ./bitnami-joomla-3.8.11-0-module-linux-x64-installer.run --installdir /opt/bitnami
Please let us know if this solves your issue.
Hello, I have followed the process, up to the point where I am asked for the mysql password. I am not able to enter the password, it will not allow it -- I can enter the user, real name, and email address, but the system freezes thereafter, i can press enter, and it restarts the process of asking for a login user.
Figured it out Thanks
@alejandrorHello Alejandror, I have setup the second Joomla site.But still, when I type in the domain name for Site 2, it calls and displays site 1.I have followed all directions... Have restarted four times... Have spent 4 days attempting this !! process. I need this to work. I am extremely disappointed (frustrated and upset) that this process is so convoluted!!!
I received no errors.
WHAT information do you need from me, so i can get this to work!
We have a Support Tool that will gather relevant information for us to review your configuration. Could you please download and execute it on the machine where the stack is running by following the steps described in the guide below? You must click on the platform or cloud that you are using to find the correct instructions.
How to Run the Bitnami Support Tool
Please note that you need to paste the code outputted by the tool in your reply.
@jotaHello Jota, thank you for your help.The two sites that work do not have SEF and URL rewrite.The two sites that do not work have SEF and URL rewrite enabled.
I have attempted to line out items in the htaccess.txt, but the two sites still, do not work. I have attempted to AllowOverride in the httpd.confNothing works.
Please detail exactly, what changes should be made to allow SEF URL on a Joomla Multisite Install ((with Virtualhost) And, are there other files in ref to SEF and URL rewrite that require editing, and what are the specific edits that need to be made.
I have read through and attempted all the documentation I could find on Joomla's, and on your own site to complete this process -- which has now taken more than five days, due to the lack of accurate and current documentation.
Thank you for your assistance.
As I mentioned in my previous post, please share with us the code that our Support tool generates so we can review the you Apache's configuration first and then we can redirect you to the proper forum in case it's a specific issue of the application.
Here is the data from the tool ::
Health Check Tools
Would you like to execute the health check tools to identify possible issues onthe stack?
Run Health Check tools [Y/n]: y
SMTP Health Check Tools
The SMTP checker will send an e-mail to test your connection. Do you agree?
Run SMTP Health Check tool [Y/n]: y
SMTP Test Recipient
By default, a mail will be sent to email@example.com.If you would like to test the mail delivery, pleaseindicate a valid mail recipient address and check yourinbox after running the test.
NOTE: Check the recipient inbox when providing a valid one.
Mail Recipient : firstname.lastname@example.org
To run the SMTP health checker the following fields are required:
SMTP server hostname [localhost]: smtpout.secureserver.net
SMTP server port : 80
SMTP user [email@example.com]: firstname.lastname@example.org
SMTP user's password :
Please review the information below, which will be added to the archive that you will upload to the Bitnami servers.
We will be collecting the information and files listed below. Exercise cautionwhen posting the resulting support bundle to public sites as it containsdetailed diagnostic information.
The following log files will be added:
The following configuration files will be added:
Press [Enter] to continue:The following components' files ownership and permissions will be added:
The following system information will be added:
The following health check logs will be added:Press [Enter] to continue:
Press [Enter] to continue:
Do you agree on adding the information to the archive? [y/N]: y
-Error: There has been an error.No origin file found that matched /tmp/apache.permissionsPress [Enter] to continue:
I'm sorry but there was a problem when retrieving the information, did you run the support tool using sudo? If not, can you try using sudo? Regarding the "Run Health Check tools", you can skip that part ("n").
Sorry for the inconvenience
Yes, I used sudo
I will try again
I have attempted the support tool again, and have posted all information below::
Welcome to the Bitnami Support tool.
This tool collects system information and files from a Bitnami stack into asupport bundle file, which will be uploaded to the Bitnami servers and reviewedby the Bitnami Team.
Would you like to check for an updated version of the software?
Check for Updates [Y/n]: y
The installer will now check for updates. If you have a dialup connection to the internet, make sure it is active.
use HTTP Proxy [y/N]: n
Checking for updatesUpdate Not Available
Please type a directory that contains a Bitnami installation. The defaultinstallation directory for Linux installers is a directory inside /opt.
Run Health Check tools [Y/n]: n
Please review the information below, which will be added to the archive that youwill upload to the Bitnami servers.
\Error: There has been an error.No origin file found that matched /tmp/apache.permissionsPress [Enter] to continue:bitnami@ip-172-31-77-156:~$
Sorry for the inconveniences. We have been working on debugging our support tool and we just built a new version of it. This new version has not been published yet but this is the file
https://downloads.bitnami.com/files/bnsupport/bnsupport-0.7.2-linux-x64.run md5: d1e20ee23c6b14c45d1b2d23fb647c22
Please run these commands and let us know if it works now.
wget -O https://downloads.bitnami.com/files/bnsupport/bnsupport-0.7.2-linux-x64.run
sudo mkdir /opt/bitnami/bnsupport
sudo mv bnsupport-0.7.2-linux-x64.run /opt/bitnami/bnsupport/bnsupport-linux-x64.run
sudo chmod +x /opt/bitnami/bnsupport/bnsupport-linux-x64.run
sudo ln -s /opt/bitnami/bnsupport/bnsupport-linux-x64.run /opt/bitnami/bnsupport-tool
If that doesn't work, we will share with the different files and commands you need to execute for us to review your configuration.
Sorry for the inconvenience again.
PS: I just edited the commands of my previous post