Hi, I'm totally confused!
I am trying to setup a domain server for which was working untill I changed some settings and now everythings messed and mixed up.
Specifics: I want to create a system where I can access my main server through my domain server on the internet as it's running a different mail setup and monitoring for my network.
Outline: Internet WAN -> server1 -> server2 (where server1 is domain server and server2 is main server)
I found this thread for the proxy: http://www.howtoforge.com/forums/showthread.php?t=3116
of which I adapted to this on server1:
Virtual host setup--
OptiplexGX270T:/etc/apache2/sites-available# cat 192.168.1.51
ProxyPass / http://192.168.1.51:80/
ProxyPassReverse / http://192.168.1.51:80/
and modified proxy.conf to show:
OptiplexGX270T:/etc/apache2/mods-available# cat proxy.conf
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.
Deny from all
Allow from 192.168.1.51
# Define the character set for proxied FTP directory listings
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
Now I have squirrelmail installed which I setup as a virtual host so that mail.mydomain.com will point to it and it works fine internally through the DNS server config in my Cisco router but when I try to access it through internet it used to work but now it says no gateway reply. I haven't modified the router in anyway since changing to the proxy setup.
Also I have mail.gx110.mydomain.com which is meant to access server2 squirrelmail system and courier-imap system.
However in my domain setup page, I have put 2 forwarders:
Hostname Address Record Type
mail myIPaddrss in A
mail.gx110 myIP in A
then mx mail records:
Hostname Address (e.g. mail.mymailserver.com) Pref
mail mydomain.com 10
mail.gx110 mydomain.com 10
But now even say in IMAP client mail.mydomain.com doesn't work, says "can't find server"??
I had it setup with MXE record first which was:
Then squirrelmail worked at least on my domain server but now I am totally confused and I guess this should have been two seperate posts but I hope both problems will be covered in this one