Softaculous


Topic : Custom port binding to a sub domain name in apache


Posted By: blackplunder on July 26, 2022, 9:07 am
Hello guys,

I am trying to host nodejs backend on the server. Everything is working fine on the node side but now i want to use the domain name instead of port with server ip.

I have tried to add a custom config file in the "Extra Configuration" option but it does not working.

I have added below code in custom.conf file and upload it there.

<VirtualHost *:80>
  ServerName backend. domain .com
  ProxyPass / http: //127.0.0.1: 8080/
</VirtualHost>

After the upload apache got the error and stop working. So i have delete the file.

Also i have tried several ways to input the system but some how its not working.

Please suggest me the way to do that.

Thanks

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.