My application is running with Nodejs server on the port 3000.
I installed my HTTPS certificate for my domain name.
Now I want to reach my nodejs application directly to my sub-domain.domain.com.
When I go to my domain name, I directed to the bitnami home page.
So I have:
h t t p s : //sub-domain.domain.com --> bitnami home page
IP-ADDRESS:3000 --> my nodejs application
I add a proxy to redirect all HTTP request to my port 3000 but with no sucess.
My proxy added in /etc/apache2/sites-enabled/000-default.conf :
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName w w w . sub-domain.domain.com
ProxyPass / h t t p://127.0.0.1:3000/
ProxyPassReverse / h t t p://127.0.0.1:3000/
DocumentRoot /var/www/html
ErrorLog {APACHE_LOG_DIR}/error.log
CustomLog {APACHE_LOG_DIR}/access.log combined
< /VirtualHost>
Someone has an idea to solve my problem ?