DEV Community

Discussion on: How to make your web server better and more stable

Collapse
 
africaorginal profile image
blackman • Edited

Thanks! Please is possible to use my public IP address for all my virtual machines? Instead of port forwarding through my local network(Lab). I will like to sell some of my virtual machines to my friends for hosting their site like digital ocean and other vps hosting platforms. Any ideas?

Thread Thread
 
drusac profile image
Dominik Rusac

Yes, it's possible. If you have multiple virtual machines that means you have multiple servers. Your network has one public IP which you said is fixed. To differentiate those VMs you could expose them through separate ports in you router settings. Every VM has it's own local IP address, you will use that address to point to each VM through chosen port on router settings.

Thread Thread
 
africaorginal profile image
blackman

Thanks! Very much for your response i really appreciate it.