how to host multiple sites on apachee
karlp at ourldsfamily.com
karlp at ourldsfamily.com
Tue May 31 20:30:29 UTC 2005
> thanks brandms , i will see in these .conf files and dig docs and mauals
> at apachee website .
I host multiple sites via a single IP address and instead of 192.168.1.1 i
put a '*' in the config files. I learned this stuff by searching GOOGLE
for APACHE HOWTO and then clicked on things until I found a site that I
could easilly understand.
Good luck and have fun.
Karl
>
> 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, youll 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
> _______________________________________________
> 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
More information about the Redhat-install-list
mailing list