How to redirect my nodejs application to my domain name

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
When I go to my domain name, I directed to the bitnami home page.
So I have:
h t t p s : // --> 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 .
ProxyPass / h t t p://
ProxyPassReverse / h t t p://
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 ?

1 Like

You are looking in the wrong directory:



1 Like

Thank you so much ! you saved my life :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.