I have 2 websites on a Ubuntu 14.04 Server with Apache. The websites lie in /var/www. I have bought a couple of domains from Godaddy. I have linked the domain and the machine's IP.
Lets say I have abc.com and xyz.com. When a user tries to access abc.com, I need to show him the website under /var/www/abc/index.html and similarly for xyz.com.
I researched and found that under /etc/apache2/ there is some settings file I need to change in order to do it but I am not sure what to do. Could anybody give me a hint on how I can achieve this?
A detailed answer can be lot helpful for understanding.