Sorry for the noob question, but I have two projects, a node webapp, and a set of webservices that sit behind the webapp. Only the webapp needs to see the webservices, they do not need to be viewable to the public.
Now, obviously this works fine when I develop locally. For the webservice connection from the webapp, I just specify localhost and the portnumber for the webservices.
However, I’m struggling to do this on my droplet. I have my sites-available set up for the domain of my webapp, and it is working fine. I’m just wondering if I need a further sites-available server block for my webservices considering I have no domain name for them. Do I need one?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.