Configuration of Apache Web Server

Configuration of Apache Web Server with virtual hosting.

1) Install given necessary packages.
IV-apache2-mod-perl-2.0.XXX.rpm (for perl scripting support)
V-apache2-mod_php4-4.3XXX.rpm (for php pages support)
2 ) If you want to host only one site then this so easy. Place your website in /srv/www/htodocs/ folder.

3) Start the apache2 service.
/etc/init.d/apache2 start or rcapache2 start

4) For webhosting your DNS must be work properly and domain must be resolved.

5) For virtual hosting go to /etc/apache2/vhosts.d and copy “vhost.template” to appropriate name of your website. Like and so on.



DocumentRoot /home/pucitonline

ErrorLog /var/log/
CustomLog /var/log/apache2/ combined

And same changes in all website files.

6) uncomment anyone of these NameVirtualHost or
NameVirtualHost *:80 in /etc/apache2/listen.conf

7) start/restart apach2 service through this way.
/etc/init.d/apache2 or rcapache2 start/restart

Forex Trading