Q:

Installing CodeIgniter On Amazon EC2

This is the first time I'm trying to upload my completed CodeIgniter project to a micro instance of Amazon EC2. Here is what I did so far: I created 1 micro instance on Amazon EC2 using "Amazon Linux AMI", installed software (gcc, make, httpd, php-common php-cli php-pear, php-devel, git) using YUM via Putty, and uploaded my completed CodeIgniter project to my "ec2-user" folder using FileZilla. 
My question is, how do I configure EC2 and my project in order to view my project's home page using my public DNS address given to me by Amazon? (Visiting my public DNS address displays the Amazon Linux AMI Test Page). Thanks in advance.

A:

Edit /etc/httpd/conf/httpd.conf and change DocumentRoot to the directory where your files are.
Also, in the future, you will have better luck with these types of questions on  https://serverfault.com/

