Installing apache on AWS
Links:
- AWS Instances: https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#Instances:
- Google Domains: https://domains.google.com/registrar/?authuser=1
ssh to AWS: ssh ec2-user@<ip_addr> -i <path to private key file>
sudo yum update
to update packages on serversudo yum install httpd
to install httpd serverservice httpd start
to start the server
Place files in /var/www/html/
to serve them (or update configuration file to decide where you want the server to serve)
(Needed to update permissions of /var/www/html/
so we could add files)
Other TODOs:
- Set up Elastic IP
- Set up Domain Name and associate domain with Elastic IP