![]() |
|
|
|
![]() |
![]() ![]() |
Configuring SubhostsBasic ConfigurationFor each Virtual Subhost you manually configure on your Virtual Server you will need to create a new directory for the subhosted domain files and make an addition to your web server configuration file (~/www/conf/httpd.conf). It is probably best to create the new subhosted domain directory in your Virtual Server ~/www/vhosts directory, like this:
# point www.church.org and church.org # to subdirectory church <VirtualHost www.church.org church.org> ServerName www.church.org ServerAdmin webmaster@church.org DocumentRoot /www/httpd/vhosts/church </VirtualHost>
You may also want to offer FTP access and Mail accounts for your Virtual Subhosts by using the vadduser utility. When prompted for the "home" directory for the FTP account, you will want to specify the same value that you use for the DocumentRoot definition. This will allow your subhosted client to publish web content to the directory which the web server recognizes as the home directory for the subhosted domain name. Multi-user FTP and Mail capability is only available on the Fully Functional Virtual Server (Server B) and Enhanced Fully Functional Virtual Server (Server C). Configuring CGI-bin Directories Many of your potential Virtual Subhosting clientele will want cgi-bin access.... this can easily be configured for a Virtual Subhost using the ScriptAlias directive in the ~/www/conf/httpd.conf file on your Virtual Server using the " ScriptAlias"
directive as show below: # point www.churchnews.org and churchnews.org # to subdirectory churchnw <VirtualHost www.churchnews.org churchnews.org> ServerName www.churchnews.org ServerAdmin webmaster@churchnews.org DocumentRoot /www/httpd/vhosts/churchnw ScriptAlias /cgi-bin/ /www/httpd/vhosts/churchnw/cgi-bin/ </VirtualHost>
|
|
![]() |
[ SERVERS | ECOMMERCE | SUPPORT | SPECIALS | SEARCH | SITE MAP | ORDER] [ HOME | CONTACT US | ABOUT US | PRIVACY | LEGAL | REFUND POLICY ] © Copyright 1998 - 2001 Blue Reef Consulting, Inc. All Rights Reserved. Comments or questions about this web site? Write to webmaster@bluereef.net. Phone: (305) 274-8393 |