First of all thanks for the mail-in-a-box. Also sorry for (h)ttp and (w)ww below. I was not allowed to add more than one URL in one message. URL’s will work if you remove the brackets.
I have set up everything and everything is working fine, I am using sub domain configuration from the installation instructions, i.e. All my domain is controlled by mail-in-a-box.
My domain is sparklegal.com.au
I get ssl certificate from (h)ttps://www.startssl.com/ which says the certificate is valid for sparklegal.com.au and www.sparklegal.com.au and SSL labs confirms it (h)ttps://www.ssllabs.com/ssltest/analyze.html?d=www.sparklegal.com.au
I have also updated the Custom DNS in the box/Admin page
Domain Name Record Type Value
(w)ww.sparklegal.com.au A 126.96.36.199
if I write sparklegal.com.au on the browser it redirects to (h)ttps://sparklegal.com.au/ and everything works fine including ssl
Now I have two problems
1- if I write www.sparklegal.com.au on the browser it redirects to (h)ttps://box.sparklegal.com.au/ I want it to redirect it to (h)ttps://www.sparklegal.com.au/
2- If I write (h)ttps://www.sparklegal.com.au/ on the browser (Including the https:// in front) it goes to (h)ttps://www.sparklegal.com.au/ (does not redirect to (h)ttps://box.sparklegal.com.au/ anymore) but it gives SSL ceritication Warning and ask me to accept the self signed certificate before continuing.
I would be greatful if you can help me.
Thanks in advance