Hi! I’m a bit lost with MiaB DNS config, I’ve moved over from Cyberpanel for reasons.
I have installed MiaB on VPS, lets say ip 1.1.1.1
I have a website which responds on 2.2.2.2
My Domain Name Provider glue is set to ns1.box.mydomain.com/ns2.box.mydomain.com
I have set A records for [www].mydomain.com and [blank].mydomain.com to point to 2.2.2.2
In a web browser, if I go to [www].mydomain.com, I get the website at 2.2.2.2 (nice)
However if I go to mydomain.com I get the website at 1.1.1.1 " this is a mail-in-a-box"
I don’t need MiaB to serve a webpage, 2.2.2.2 does a fine job (it has certificates and runs a webserver fine).
Can someone ELI5 how to get MiaB to direct webtraffic to 2.2.2.2 on https:mydomain.com?
Should an A record be all thats necessary?
Thanks in advance, I’m sorry if this is common but when I searched I couldn’t find what I’m looking for or my monkey brain doesn’t understand the answers.