I'm using shared hosting on which I host a website and have got some "parked domains" (they show the same content as the master domain). I'd now like to catch those domains and show different content, effectively having separate websites for them.
I can change the DNS records and the .htaccess file, but I either end up creating endless loops or getting a 500 server error.
If a user visits domain1.com they are shown content from the www directory. I'd like this to stay this way.
I'd like it so that if users visit domain2.com they're shown content from the domain2 directory. The highest level at which I can create folders is /home/myaccount/www/ - this means that in the example above the content for domain2 would be stored in /home/myaccount/www/domain2
Can I achieve what I want using only DNS settings and url rewriting, or do I need to upgrade my hosting?
Any help would be greatly appreciated!