Subdomain Vhost Proxy With Easy Apache4 For Node Application?
Hello, I have a subdomain set up `sub.example.com` for my domain `example.com` and I installed node on my VPS which I have root access to the VPS. I uploaded my Node files to subdomain folders. And started my Node at `IP:3000` which I verified to be working through my Host Providers. Now What I want is to Point sub.example.com to IP:3000. So I taught of Vhost is the answer as I saw online. So I added this file to /etc/apache2/conf.d/sub.example.com.conf with this content
ServerName sub.example.com
ProxyPreserveHost On
ProxyPass
and restarted apache but hmmffffs is not working. So How Do I point IP:3000 to sub.example.com
Regards,
-
What is Happening is been 3 days now and No one is replying have I done something wrong 0 -
Hi @Max User Currently, this isn't something that's supported by cPanel though there is a feature request for it here: There are also a few forums threads regarding node here that could be helpful what you're trying to do: Thanks! 0
Please sign in to leave a comment.
Comments
2 comments