I am new in Ubuntu. I have created my website in node. where I am using different port for different modules.
http://localhost:5555/ this is for admin,
http://localhost:5050/ this is for client access.'
I am using
Digitalocean ubuntu server and I have bought domains from
I want to set different domain on different port.
http://localhost:5555/ should be "http://admin.example.com".
http://localhost:5050/ should be "http://example.com".
I have tried with
nginx but doesn't get any useful.
Please help me . Thanks in advance.