I am a newbie and need some help although I tried going through the other posts. I have successfully installed my drupal site in /var/www/mywebsite folder.
Now I went to the place from where I bought my domain (mywebsite.com) and configured an A record to point to the Elastic IP Address allocated by Amazone to this instance. Everything is fine a nice here. When I browse for mywebsite.com it correctly takes me to the default page in /var/www
But obviously I need to point that website to /var/www/mywebsite. When I enter the link mywebsite.com/mywebsite ... it goes to the right page and everything seems to work fine.
Now what I want to do is point mywebsite.com and www.mywebsite.com to the /var/www/mywebsite folder
And it would be great if I could have another site called yourwebsite.com and I configure it to the same IP but the redirection for yourwebsite.com and www.yourwebsite.com to /var/www/yourwebsite
Please help! I understand that the issue has something to with VirtualHosts and mod_rewrite .. but sorry ... I'm a bit stuck and rather new! HELP! :(