Using Discourse in private VPN: What about email?

Thanks to all of you guys. I guess I got my stuff sorted:

  • For a Webserver running inside the VPN, the VPN server needs to act as DNS also. Internal DNS should resolve the same domain to internal IP, which is publicly resolved to external IP. And I should stop using the servers IP anywhere, let DNS handle this complexity. Currently my VPN is just working on IP level, and I wasn’t even aware about these details.
    Downside: I can mess up the whole www of all users.
  • I could as well have the webserver just running on a public port, and let SSL handle the protection.
    Downside: I am exposed to all the evil of the real world.