I can't seem to find this on google. I'm trying to put up a quick test site using EC2 and Elastic IP but I'm getting stuck at how to edit the Apache sites file so that I can view the site. It's deployed in the /var/www/ServerTest directory, and I want to access it using an Elastic IP (let's just say I want to do 56.34.123.12/index.html). How could I set this up?
Here's what I've found online so far:
<VirtualHost *:80>
ServerName www.example.com
DocumentRoot /webapps/mycook/ServerTest
<Directory /webapps/mycook/ServerTest>
Allow from all
Options -MultiViews
</Directory>
</VirtualHost>
However, I don't have a domain like "www.example.com" to link it to.
Thank you!