First - I created a droplet on Ubuntu 14.04 LTS and gave it the name isahappyperson.com
Second - I have two domain names pointed to the droplets IP address
Third - I followed the directions here https://www.digitalocean.com/community/articles/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
I did so exactly and using my two domain names
ididntsee.com is working and is displaying the proper index.html file
isahappyperson.com is showing the apache2 ubuntu default index.html file even though I edited the /etc/apache2/sites-available/isahappyperson.com.conf file to show the following:
I double checked to ensure I created the index.html file in the correct directory at /var/www/isahappyperson.com/public_html/index.html
Any thoughts as to what is missing?
My goal is to install Wordpress on both sites using the same droplet.
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!