I have a Raspberry Pi 2 B , Its running a LAMP package setup with Rasbains Jessie . i have looked at trying to host 2 domain names under one IP address but i have no clue where to start.
I have tried to edit the
sites-enabled.conf and added a virtual host for each domain name i want to have , i then ran
a2ensite Domain1.com.conf &
a2ensite Domain2.com.conf then
sudo service apache2 restartin terminal and forwarded both domain names to my IP address but they both root to the original website folder.
can anyone either give me a good tutorial to follow or explain how to setup 2 Domain names to one apache2 server with different content?