That should be fine, just be sure to forwared the right ports to the server machine. This worked when I just had the Apache server.