'Apache2 ReverseProxy - Still references document root

I've spent a lot of time on this but I can't see to figure out the issue. I am running Ubuntu 20.04.4 LTS server as an apache proxy pass server to our back-end server hosting the code. I've enabled the below vhost under "/etc/apache2/sites-available/demo-mysite-com.conf". I enabled the new site using "sudo a2ensite demo-mysite-com.conf" and disabling the default "sudo a2dissite 000-default.conf". After restarting apache, the url still points to the default document root on the current server instead of pointing to the backened server.

<VirtualHost *:80> 
  ProxyPreserveHost On
  ProxyRequests Off
  ServerName demo.mysite.com
  ProxyPass /site http://10.3.0.136:8080/site
  ProxyPassReverse /site http://10.3.0.136:8080/site
</VirtualHost> 

I've also made sure all the modules are enabled: sudo a2enmod proxy, sudo a2enmod rewrite, a2enmod proxy_http.

I also ran apache2 -S and I get the below

VirtualHost configuration:
*:80                   demo.mysite.com (/etc/apache2/sites-enabled/demo-mysite-com.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex proxy: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33 not_used
Group: name="www-data" id=33 not_used

I am not sure what steps I am missing so any advice would be appreciated!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source