I'm planning on setting up a VPS "service" just for a couple of my friends to use, but I only have one IP. I'd like to set up nginx so it works like this:
domain1 . com -> 192.168.1.1
domain2 . com -> 192.168.1.2
It was mentioned here so I know it's possible somehow.
Also, assuming this is all set up and working, would I be able to go to domain1 .com:400 and access 192.168.1.1 port 400?
Thanks!