I use Dreamweaver and have a hosting package at Freeparking.co.nz
I have enough capacity to host several websites on my package and am told I can do this by modifying the .htaccess file.
I have one website www.Domain1.com in default host directory /var/www/html/
2nd website www.domain2.com website at folder at /var/www/html/wwwdomain2com/
3rd website www.domain3.com website at folder at /var/www/html/wwwdomain3com/
http://www.domain2.com currently maps to http://www.domain1.com.
I would like to redirect the 2nd domain http://www.domain2.com/ to the folder /var/www/html/wwwdomain2com/
I would like to redirect the 3rd domain http://www.domain3.com/ to the folder /var/www/html/wwwdomain3com/
I hope to have about 6 websites hosted on the one package.
How do I write a .htaccess file and where do I store it so it shows both websites, I presume I store it in /var/www/html/.