Posts

Showing posts from August, 2014

Configuring Apache for a new website in a Bitnami Lamp server.

Configuring apache in a bitnami server is a bit confusing at the begining but once you get the idea, it becomes so simple. In recent versions of BitNami apps  the bitnami.conf file defines which configuration for each application should be loaded by the Apache server. This file is located in /installdir/ apache2/conf/bitnami/bitnami.conf . Note that for Virtual Machines and Cloud Images installdir is /opt/bitnami . Here we are configuring for a Virtual Machines, thus the installdir is /opt/bitnami basically the directory we use for putting the web contents is /home/bitnami/apps/ the website i going to add for example is bucolic.com . We need to follow the following steps then:- 1.) Create a folder named bucolic in the directory /home/bitnami/apps/ and give ownership as bitnami 2.) create 2 other directories conf and htdocs inside the directory bucolic 3.) Put all the web contents inside the directory htdocs including the index page just like the other servers.