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
|