I setup a domain name (bileaf.com) in the DO droplet. I then installed Vesta CP and provided the domain information whenever it asked. When I opened my domain name on the browser it showed me a panel welcome page (not the actual panel admin login but a panel html page saying powered by vesta).
Now, I added two more domains to my DO and now want to point them to different folders. I went through https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts article to setup Apache virtual hosts. But, now whenever I try to go to any of these domains on my browsers it keeps going to the panel page for my first domain.
I dug around a bit and it seems like the panel page is in /home/admin/web/panel.bileaf.com/public_html. Both of the secondly added domains are pointing to this.
Any idea what I am doing wrong and how can I fix this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!