I have an EC2 Ubuntu Instance that I have Apache2 installed on (along with php, mysql, mycrypt for a Laravel project). I have set up the correct nameservers, and www.example.com
is coming up online. However, example.com
(without www.
) is not working.
I know I have to change something with the vhost, but I am not sure how to do it with the Debian version of Apache2 on the Ubuntu instance.
What file do I edit to do this, and what edit do I have to make?