I am setting up a website, which will have different CNAMES. i.e:
Not having much experience with this before, I want to find out the best practice for serving different content once the browser detects client1.test.com, as oppose to client2.test.com once I have set the CNAME records in my host providers control panel.
I have been advised that .htaccess can point these urls to different holding folders, i.e. instead of client1 serving the generic content the index for that page may sit in the www.test.com/client/ directory. Is this how CNAME's are supposed to be setup, or have I missed the general idea.
Thanks in advance.