Category: Apache

Amazon Web Services – Bootstrapping – Apache Installation

You may use the following commands to configure an Amazon EC2 instance to install and start the Apache web server upon boot. The commands should be placed in the Advanced Details dialog box during during the provisioning process of an EC2 instance. #!/bin/bashsudo su –yum install -y httpdsystemctl start httpd


Apache – Simple Maintenance Page

You may use the following sample┬ámaintenance page for your website, when necessary. I did not create it but I did find it very helpful and the link to the HTML code may be found here. <!doctype html> <title>Site Maintenance</title> <style> body { text-align: center; padding: 150px; } h1 { font-size: 50px; } body { font:…