So I'm a college student trying to figure out how to run servers (such as my VPN, Web, Email, and a small convo server on a misc. port) all on the same public IP Address. I'm successful without a private DNS for the Web, and VPN servers, but when I started adding in more servers that used the same ports, it got in the way with the port forwarding.
So what I've been attempting to do is have my google Domain accept requests to
www.example.com (and example.com), vpn.example.com, mail.example.com, and chat.example.com.
Then forward all those requests to my public IP Router.
Then my router port forward all requests to the private IP addressed DNS server.
THEN my private DNS server to forward those into Private IP Addresses for the specific servers (IE: 192.168.1.15 for web).
I've been trying to find the correct settings, or even understand if this could work. I've been at it for a week on my free time, but still no success. This is really a thorn in my side. For the longest time I've just port forwarded on my router straight to my web server, and I want more control than that. I could really use any help, or if you know of a good guide that can relate.
(I'm using a series of virtual box emulated, Linux Server 16.04 on 2 Windows 8.1 Desktop computers +1 android netbook for PAW fun. I use Webmin 1.850 for the DNS configurations, putty to login console remote, and Teamviewer 12 for remote fixing windows remote.)