"A" records in the DNS point to domains, where it does not matter what domain level.
An example:
example.com. IN A 10.1.2.3
www.example.com. IN A 10.1.2.3
other.example.com. IN A 10.99.99.99
another.other.example.com. IN A 10.1.2.3
So the names of lines 1,2,4 point to the same server 10.1.2.3, while the name in line 3 points to a different machine.
The DNS records always point to addresses, it is up to a virtual web server to do a mapping to a sub-directory.
HTH and regards,
R.
Regards,
R.
Regards,
R.