IP adress points to my subdomain
I’ve set up a LAMP server on an CentOS VPS, created DNS records in DigitalOcean panel as instructed by the tutorials. Everything works fine on the main domain name and sub domain.
However, if I type my IP to address bar of browser, it serves me my subdomain, not the main domain.
in my ZONE file are these records -
@ IN A 220.127.116.11
asdf IN A 18.104.22.168
www IN CNAME kailo.photography.