I've been fighting this issue for quite some time and perhaps don't have a good enough understand of Apache.
I have a Bitnami Wordpress Multi-site installation running on AWS lightsail. I have 3 WP domains working fine.
I also have a 4th domain that I want to point to a custom non-Wordpress app using that same server.
A while back I asked the question: https://stackoverflow.com/questions/53638767/point-domain-to-directory-of-a-bitnami-wordpress-multi-site-instance/53705728#53705728
- Using this, I set up my app in a separate directory with a conf directory which I planned to include a vhosts file pointing my 4th domain name to the htdocs directory in this new location.
- The Bitnami Engineer that answered the question said to create an Alias, but unless I understand alias' incorrectly, they are only for directories. I can't use an alias for a separate domain (am I wrong?)
When I tried to add a VirtualHosts section, I received an error because I can't have both vhosts and httpd-prefix running on the same server I guess.
How can I leave httpd-prefix as-is for my wordpress multisite installation, but also point my 4th URL to the /opt/bitnami/apps/myapp/htdocs directory?