I am trying to set up a subdomain that serves a different website that what my main domain name serves. I am using Debian Stretch.
www.domain.name > my website
application.domain.name > separate application
I read up about virtual hosts, but it seems to only specify for completely different domain names. Are there any meaningful differences and how should I configure my A records as well? I am very new to website hosting and any advice is appreciated.