Name VirtualHost

From Supercomputación y Cálculo Científico UIS
Revision as of 17:03, 28 August 2014 by Sgelvez (talk | contribs) (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 *:...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>