Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2000 12:05:39 +1000
From:      Danny <dannyh@idx.com.au>
To:        webmaster <admin@rustikat.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Web Server
Message-ID:  <00042412102802.00333@freebsd.freebsd.org>
References:  <200004220648.CAA21492@rustikat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Try going to tbelow it mihg help.

You know there is documentation in httpd.conf itself on how to modify your
httpd.conf to setup www.mydomain.com

There is a file in apache called httpd.conf located in /usr/local/apache
(depends where you installed apache) do "locate" to find it.

Now type in cd conf to access the conf files 

Now yo uhave to create a directories for document root before you modify
httpd.conf

Now modify httpd.conf so you have something like for your virtualhost

<VirtualHost ip.address.of.host.some_domain.com>
   ServerAdmin webmaster@host.some_domain.com
   DocumentRoot /www/docs/host.some_domain.com
   ServerName host.some_domain.com
   ErrorLog logs/host.some_domain.com-error_log
   CustomLog logs/host.some_domain.com-access_log common
</VirtualHost>  

On Sat, 22 Apr 2000, webmaster wrote:
> Gentlemen
> I have a web server set up using the FreeBSD OS
> I need to create a virtual site
> www.mydomain.com
> Can't find instructions on how to do this
> Please help a newbie
> Thanks
> Fred
> ----------------Rustikat Internet Services---------------
> Web Design:  http://www.rustikat.com/web_design.html
> Web Hosting:  http://www.rustikat.net
> Email: mailto:admin@rustikat.net
> Subscribe to our FREE newsletter send blank email to:
> mailto:rustikatspecials-subscribe@listbot.com
> --------------------- www.rustikat.net ---------------------
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00042412102802.00333>