I know there is a lot of questions on here about this... but right now I feel like a deer stunned by oncoming headlights... I just don't know where to start and which option to choose.
My requirements are simple.
User goes to http://application.domain.com or http://www.application.domain.com and the real location of these files is http://www.domain.com/application
Obviously this needs to be done using wildcards so that any domain (even if it doesn't exist) triggers the rewrite.
I hope this makes sense to someone
EDIT: I should also mention I have added the wildcard A record to my DNS entries in Cpanel *.domain.com
Thanks
Tim