Hello Boys and girls. Please help me out.
I want to do the following: on one machine i have running apache accesible to the internet.
Within my network I have a mailserver with webaccess. Both my external website and my internal webmail works fine.
Now comes the following I do not want to make my webmail accessible via the apache external website.
I have made a dns record pointing to external ip address (tested ok) and in httpd.conf I have made a virtual host and it's redirecting to internal machine's hostname.
Now this works fine from inside network but from internet it is looking for the internal address on the internet, this of course does not work.
Do you have any ideas on this?
Thanks Bas
This is my part of httpd.conf:
<VirtualHost *>
ServerName exchange.yy.com
ServerAdmin
postmaster@yy.com
Redirect /
http://hostname/exchange
</VirtualHost>