virtual hosts

The Virtual Hosts Section in httpd.conf

Before delving into a discussion on virtual hosts, you need to become familiar with the Virtual Hosts section in the httpd.conf file. The following section (Section 3) contains a few directives that you should be familiar with before you begin: # Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames [...]

How to Get Details About Your PHP5 Installation

Unless you have already created virtual hosts in your Apache installation, the document root of the default web site is /var/www/html. We will now create a small PHP file (info.php) in that directory (if you have created virtual hosts, place it in any of the virtual hosts that has PHP enabled) and call it in a [...]

How to Monitor traffic on Apache in Real-Time

Apachetop is a very useful and small program that displays the stats for Apache as they happen. It can tell you how many requests per second are coming in, what files have been accessed in the last set amount of time, and how many times. It can also show you who is hitting the sites [...]

How to Set up the virtual hosts for https

For an SSL encrypted web server you will need a few things. Depending on your install you may or may not have OpenSSL and mod_ssl, Apache’s interface to OpenSSL. Use yum to get them if you need them. yum install mod_ssl openssl Yum will either tell you they are installed or will install them for you. [...]

How to Configure Virtual IP Address in Linux

Invoke the linuxconf tool. ( type linuxconf in the shell prompt and press Enter ). For starting this tool you have to be logged in as Super user. In the displayed menu, select the menu item : IP Aliases for virtual hosts and press Enter. This will display the two interfaces eth0 and lo. (Ethernet [...]