Amazon EC2 How Do I host My Own Content? Stuck on having a working test apache page Amazon EC2 How Do I host My Own Content? Stuck on having a working test apache page apache apache

Amazon EC2 How Do I host My Own Content? Stuck on having a working test apache page


isnt your document root public_html instead of www? so why did u put ur pages under www directory?


If you have no content in the DocumentRoot that you configured then the default Apache install will show you that page instead of yours. Also, check the DirectoryIndex configuration to make sure that if you're using index.php or default.html or something else that this is configured as well. It defaults to index.html


Chmod755/directory/directory/etc.. Will give access to that directory. So if your website is in the folder *home/ec2-user/public_html* you would then need to give access to that directory.Example: chmod 755 home/ec2-user/public_html