I recently installed this great great server os, and I have spent the last 2 days trying to figure out the following (and probably breaking many many things in the process).
I have the SME server connected to a DSL modem (Modem:192.168.178.1 SME ext if:192.168.178.2). Before installing SME I had a freeBSD box running apache (and all the other services that I wanted SME for), and I need to keep the apache on it.
So what I need is a way to keep mail for mydomain.com on SME but when I hit mydomain.com I want it to redirect to 10.0.0.1 (freebsd). SME is 10.0.0.10 in the LAN.
The first thing I tried was port forwarding 80 to 10.0.0.1:80 , but nothing happened.
Then I defined
www.mydomain.com in domains to point to 10.0.0.1, and that worked for
www.mydomain.com, but of course not for mydomain.com
I suppose that I need to have SME setup as mydomain.com for the mail user@mydomain.com to work through SME.
I then tried various vhost examples I found (which I am too embarrassed to reveal), and I managed to view mydomain.com/www.mydomain.com from inside the network (while still being able to see
https://10.0.0.10/server-manager) (my DSL modem supports loopback so I can see mydomain.com from inside the network). Stupidly I thought that it worked, and called it a day.
But obviously it didn't, so here I am, asking for your help

Any ideas?
PS: any changes I made were directly to "/etc/httpd/conf/httpd.conf" and then "httpd -k graceful" but I have kept a backup, in case I screw something (which I probably did)
PS2: I have ssh access (on a non-standard port)