My network has an exchange server and an apache server hosting a web site.
Exchange is 192.168.1.10
Apache is 192.168.1.12, secured with SSL
Router/firewall is 192.168.1.1
My external static ip address (for example) is 1.1.1.1 www.aaa.com
I have set up my router to port forward 80 and 443 to 192.168.1.12
So when I browse to www.aaa.com it will show the web site only.
Doing this prevents external access to the Exchange server through a mobile phone, since 443 is going only to the web site.
Is there a way to configure this so that the mail based traffic can be passed through the web server onto the email server? I tried to look into subdomains for apache (for example calling the mail domain mail.aaa.com) but I am not clear on what I am trying to achieve so couldn't work out what I was looking for.