I have the following setup - one server dedicated to mail-in-a-box and another server for a website (wordpress). I did the setup by the instructions, and it’s working perfectly (only thing I changed is that the mail-in-a-box server is named mail.mydomain.com)
Reverse DNS is setup with the ISP, I’ve obtain an SSL certificate, everything working fine.
The only problem I have is that mydomain.com is now pointing to the IP address of the mail-in-a-box server, while mail.mydomain.com works as it should.
Can I install Webmin on the mail-in-a-box machine to make changes in BIND, so mydomain.com and www.mydomain.com point to the correct IP address and nameservers or can I manually change BIND configuration inside of the mail-in-a-box machine?
Nameservers are set correctly at registrar. [ns1.mail.mydomain.com; ns2.mail.mydomain.com]
which is correct, but I’ve also set-up ns1.mydomain.com and ns2.mydomain.com as nameservers at GoDaddy for the specific domain, so it has total of 4: ns1, ns2, ns1.mail and ns2.mail.
mxtoolbox search for a: mydomain.com is pointing me to the correct IP address, meaning, the web server
But, when I try to access mydomain.com, the browser redirects to www.mydomain.com, and throws the ERR_CONNECTION_REFUSED.