Comments (6)
I did find a document from Bitnami that showed how to put vhost blocks into a file in the vhost directory, but the instructions weren't terribly clear and it didn't work for me, so I'm still looking for a good explanation of how to set up multiple vhosts for Bitnami's current architecture.
from vms.
Hi @rhastingsNEKLS,
The bitnami-apps-prefix.conf
and bitnami-apps-vhosts.conf
files are present in very old images that we no longer support. We recommend you to launch a new one and migrate your data there. In the new instance, you can follow the next guide to install custom applications using virtualhosts.
https://docs.bitnami.com/aws/infrastructure/lamp/administration/create-custom-application-php/
My instructions for creating new servers in AWS Lightsail with Bitnami include editing 2 files in the bitnami installation
About that, can you share with us the docs you are referring to in case they are public? As mentioned above, those files are no longer present in our images (for a long time already)
from vms.
Ok, thanks - that's a little bit more detailed than the documentation I'd found the other day, so I'll go through and try that. I'm running about 25 Wordpress sites on the server I'm provisioning so the "myapp" part of the file name should be wordpress? Does it matter? I have a wordpress-vhosts.conf file now that I'd set up with all of the site's vhost blocks included in it (though I need to go back and make sure the ServerAlias * is not in any of them. That might be causing issues) but the site is still showing the Bitnami default application screen for each domain that I have tested. I'll go through the process in the documentation you've provided and see if that fixes the issue. As for the documentation I'm working from - it's a Google Doc that we'd received from the consulting company who set up our Lightsail implentations and is not public. We did this about 8 years ago and I've just been using the docs I had until this server update, which is the first time I'd run into the new architecture. Thanks for the pointers!
from vms.
Actually working through the process, I have another question - should I be creating all of these under the "apps" vhost file (as in the old Bitnami architecture, all of my web folders are in the apps directory under /opt/bitnami/) or should I create a separate vhost file for each app in that directory - the folders in the apps directory are the ones that hold the wordpress sites. So I have CKLS1 for one site, CKLS2 for another site, etc. - should I be creating CKLS1-vhost.conf, CKLS2-vhosts.conf files with the virtual host block inside of it for each site I'm hosting? Or is my single apps-vhost.conf file with all of the blocks inside of it right? I did remove the server alias line and tried it again - still no luck, so now I'm wondering if each site should be it's own app with it's own vhost (and ssl) conf file?
from vms.
@rhastingsNEKLS Bitnami installations follow a whole new structure in newer servers where each app is hosted at the /opt/bitnami/app-name
directory, where app-name
is any valid name for a Linux directory (I highly recommend to avoid using white spaces though). The guide I shared covers this new way of adding apps. You will have to add separate Apache configuration for each app into Apache vhosts config folder. Also remember to restart Apache for changes to take effect.
As for the documentation I'm working from - it's a Google Doc that we'd received from the consulting company who set up our Lightsail implentations and is not public. We did this about 8 years ago and I've just been using the docs I had until this server update, which is the first time I'd run into the new architecture. Thanks for the pointers!
Thanks for confirming. We updated the filesystem structure some time ago, and the docs as well, but I was wondering if we missed to update anything.
from vms.
from vms.
Related Issues (20)
- [EJBCA] What is the proper way to upgrade EJBCA to a newer version without reinstalling the whole VM? HOT 3
- [EJBCA] Documentation for VM is out of date HOT 4
- vSphere 6.5/ 6.7 when i create from ova: 8.13.4-0 I get error: Issues detected with selected template. Details: - -1:-1:VALUE_ILLEGAL: No supported hardware versions among [vmx-19] HOT 3
- Redmine home page is not accessible HOT 6
- MariaDB Temp files are filling EBS drive and crashing the server HOT 4
- Parse-server 4.1.0 Linux installer HOT 5
- Unable to start my lighstail wordpress instance
- [bitnami/ejbca] Unable to access the EJBCA web page HOT 3
- [WordPress Multisite] Migrate from version 5.2-1 to the latest version (ec2) HOT 3
- Ubuntu and PHP Versions of WordPress Certification by Bitnami and Automattic HOT 5
- [WordPress] Apache service fails to start after configuring SSL certificates with Let's Encrypt on Google Cloud HOT 2
- [Wordpress] Unable to start bitnami.service after rebooting instance HOT 2
- [Silverstripe] Bitnami image on AWS HOT 2
- Bitnami Wordpress Issue HOT 5
- Critical Bug on mariadb - Wordpress on GCP VM HOT 2
- [Sonarqube] Issues in upgrading sonarqube from 8.9.4 to 9.9.5 LTS HOT 3
- [Wordpress] Redirect - which file to edit? HOT 8
- EJBCA - PK12 file gives an error HOT 4
- htaccess woocomerce uploads - public accessible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vms.