Thank you for your interest. If it's a Node.js application, you will need to start the server first (that's what the bin/www command does). In this case, you don't have any bin/www and don't know if there is any other file inside the project that allows you to start the Node.js server.
If Node.js is not required (at least it doesn't seem so), you will need to serve those files using Apache. Can you try to run these steps?
- Edit the /opt/bitnami/apps/myapp/conf/httpd-prefix.conf file and add the line below to it:
Alias /myapp/ "/opt/bitnami/apps/myapp/htdocs/"
Alias /myapp "/opt/bitnami/apps/myapp/htdocs/"
- Edit the /opt/bitnami/apps/myapp/conf/httpd-app.conf file and add the content below to it. This is the main configuration file for your application, so modify it further depending on your application’s requirements.
<IfVersion < 2.3 >
Allow from all
<IfVersion >= 2.3>
Require all granted
- Restart the Apache server:
sudo /opt/bitnami/ctlscript.sh restart apache
Those steps are explained in this guide in our documentation
Happy to help!
Was my answer helpful? Click on