how to host multiple sites on apachee

ajay sysadmin at tivimtech.com
Mon May 30 07:48:38 UTC 2005


thanks brandms , i will see in these .conf files and dig docs and mauals at apachee website .

thanks n rgds

ajay
  ----- Original Message ----- 
  From: Brandon Dawson 
  To: 'Getting started with Red Hat Linux' 
  Sent: Monday, May 30, 2005 10:21 AM
  Subject: RE: how to host multiple sites on apachee


  Ajay:

   

  The configuration files for apache are access.conf, httpd.conf, and, on some control panel systems, there may be a file named “httpd.include” or something similar.

   

  In httpd.conf, you’ll see information for any existing domains contained in a <VirtualHost> block. Adapt this as needed for your additional domains. 

   

  For example;

   

  <VirtualHost 192.168.1.1:80>

              ServerName   yourdomain.com:80

              ServerAlias  www.yourdomain.com

              UseCanonicalName Off

              ServerAdmin  "admin at yourdomain.com"

              DocumentRoot /home/httpd/yourhostingdirectory

              CustomLog  /home/httpd/vhosts/yourhostingdirectory/access_log combined

              ErrorLog   /home/httpd/vhosts/yourhostingdirectory/statistics/logs/error_log

  </VirtualHost>

   

  Configuration for Apache is fairly complex and will vary widely between distributions, control panels, and there are a wide variety of configurable options within apache itself at the compile level. I therefore recommend that you read any and all available documentation, and find someone who can help in person to get things set up correctly for you. Do not simply copy and adapt my example above, as it may not or will not work on your system as is.

   

  Fuller documentation on apache can be found at http://www.apache.org.

   

  ------------------------

  Brandon Dawson

  brandon at athenahosting.net

   

  -----Original Message-----
  From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of ajay
  Sent: Monday, May 30, 2005 12:34 AM
  To: redhat
  Subject: how to host multiple sites on apachee

   

  hi dear folks 

   

  can any gentleman tell me how to configure multiple sites on apachee on one m/c .

   

  i have basic idea for one site , 

   

  thanks and regards

   

  ajay



  --
  No virus found in this incoming message.
  Checked by AVG Anti-Virus.
  Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 5/27/2005





  --
  No virus found in this outgoing message.
  Checked by AVG Anti-Virus.
  Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 5/27/2005




------------------------------------------------------------------------------


  _______________________________________________
  Redhat-install-list mailing list
  Redhat-install-list at redhat.com
  https://www.redhat.com/mailman/listinfo/redhat-install-list
  To Unsubscribe Go To ABOVE URL or send a message to:
  redhat-install-list-request at redhat.com
  Subject: unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20050530/c47f0a80/attachment.htm>


More information about the Redhat-install-list mailing list