Skip to content

Instantly share code, notes, and snippets.

@devlinjunker
Last active November 8, 2020 23:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Apache Web Server Setup
Apache Web Server Setup

Installing apache on AWS

Links:

ssh to AWS: ssh ec2-user@<ip_addr> -i <path to private key file>

  • sudo yum update to update packages on server
  • sudo yum install httpd to install httpd server
  • service 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment