Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I am trying setup Apache to have multiple routes/links/sub-directory for multiple apps (node.js app, react app)
For example,
And these apps would start on its individual ports like app1 runs on port 81, app2 runs on port 82,… and so on.
I had already try to create a virtualhost in /etc/apache2/sites-available/newRoute.conf
<VirtualHost *:80>
ServerName mydomainname.net
ServerAlias www.mydomainname.net
ServerAdmin name@hotmail.com
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://localhost:3000/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) http://localhost:3000/$1 [P,L]
ProxyPassReverse / http://localhost:3000/
</VirtualHost>
<VirtualHost *:80>
ServerName mydomainname.net/test
ServerAlias www.mydomainname.net/test
ServerAdmin name@hotmail.com
ProxyPass /test http://localhost:81/
ProxyPassReverse /test http://localhost:81/
</VirtualHost>
but it didn’t work out. I started the node.js app on port 81 and browse to mydomainname.net/test, and it just display my mydomainname.net content.
In addition, localhost:3000 is just a react app which has homepage content
Also, the node.js app which running on localhost:81 would print “hello world” on the screen.
Thank
WildcatMedia
jeffs
0621335d663b4b699a60eb27e28153
accesstrax
Dwight Trumbower
admin
yimprogramming
samunyi90
1d6ce141ab5444dfb1ea2dd29cf4b1
Matt Fricker
joel9b158e40551b15093f213f