I have this local debian server and I'm trying to add subdomains to it.
I only access it using its IP, but I edited the host file of my pc to access it using testwebsite.com and now I want to add subdomains. Each subdomain should be able to access different projects. For example the main domain (maindom.com) should be able to access /var/www/. Subdomain subone.com should be able to access /var/www/subone/, and subdomain subtwo.com should be able to access /var/www/subtwo/.
Is bind9 really needed?
Thanks in advance.