Why is my subdomain directing to the same folder as the main domain?
I’ve made one droplet, I’m trying to host a website on the main domain and roundcube (webmail software) on a subdomain (mail.domain.com). The problem is that the subdomain is directed at the same folder as the main domain so making a change to one automatically changes the other.
From what I can tell the main folder is located at: /var/www/html while the mail subdomain is at /var/mail but for some reason the subdomain is not pointing to that folder, its point to the main.
Below I’ve attached a screenshot of my DNS configuration: