Difference between revisions of "Name VirtualHost"

From Supercomputación y Cálculo Científico UIS
(Created page with "The following example shows how to setup a name virtualhost in apache for dispatching several sites from the same server {{File|/etc/apache2/...|<pre><nowiki> <VirtualHost *:...")
(No difference)

Revision as of 22:03, 28 August 2014

The following example shows how to setup a name virtualhost in apache for dispatching several sites from the same server

File: /etc/apache2/...
<VirtualHost *:80>
        ServerName soportesc3.uis.edu.co
        ServerAlias *.soportesc3.uis.edu.co
        DocumentRoot /var/www/support
        DirectoryIndex index.html index.php index.htm
</VirtualHost>