A while ago I managed to install Virtualmin on my VPS following a tutorial online.
I have finished doing the following things:
- Installed Virtualmin
- Replaced Apache with Nginx
- Replaced MySQL with MariaDB
- Created a virtual server for my domain (ikigainetwork.moe)
The problem is during setup the initial setup I kept the name servers as
ns1.ikigainetwork.moe
ns2.ikigainetwork.moe
ns3.ikigainetwork.moe
I had no idea what the purpose of this was. I also tried adding the above mentioned nameservers to my GoDaddy domain, but they weren’t accepted.
Now when I open my site, it just opens op the home folder with the (leftover) apache page.
What do I have to do to get my domain to direct to the correct public_html folder (I have wordpress files there waiting to be installed).
Update 1
So I read up on some stuff online and disabled the BIND DNS server on Virtualmin
I was previously hosting my domain on RamNode’s DNS Host, didn’t really set up things well earlier so I thought I’d upgrade.
I managed to get the “Suggested DNS Records” for my virtual server in virtualmin
ikigainetwork.moe. IN A 127.0.0.2
www.ikigainetwork.moe. IN A 127.0.0.2
ftp.ikigainetwork.moe. IN A 127.0.0.2
m.ikigainetwork.moe. IN A 127.0.0.2
ns1.ikigainetwork.moe. IN A 127.0.0.2
ns2.ikigainetwork.moe. IN A 127.0.0.2
ns3.ikigainetwork.moe. IN A 127.0.0.2
localhost.ikigainetwork.moe. IN A 127.0.0.1
minaide.ikigainetwork.moe. IN A 127.0.0.2
mail.ikigainetwork.moe. IN A 127.0.0.2
ikigainetwork.moe. IN MX 5 mail.ikigainetwork.moe.
ikigainetwork.moe. IN TXT “v=spf1 a mx a:ikigainetwork.moe ip4:127.0.0.2 ip6:2a00:d880:5:119::625e ?all”
I updated the values on my DNS Host, and waiting to see if it works.