Ideas, blog, etc.

Latest posts

  • 11 June 2015

Named Virtual Hosts on AWS EC2

Named virtual hosts are not enabled by default on an Amazon AMI. To enable them, edit /etc/httpd/conf/httpd.conf and uncomment line 991:

NameVirtualHost *:80

You can then begin adding your named virtual hosts in the /etc/httpd/conf.d/ directory. Below is an example o…

Read more