how to host multiple sites on apachee

Brandon Dawson brandon at athenahosting.net
Mon May 30 04:51:50 UTC 2005


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 HYPERLINK
"http://www.apache.org/"http://www.apache.org.
 
------------------------
Brandon Dawson
HYPERLINK "mailto:brandon at athenahosting.net"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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20050530/52ac4dd0/attachment.htm>


More information about the Redhat-install-list mailing list