Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 1998 10:50:16 -0700 (PDT)
From:      Sean Harding <sharding@gutenberg.uoregon.edu>
To:        Rick <rick@lvcm.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Hosting other people's domains
Message-ID:  <Pine.SGI.3.96.980618104538.23379N-100000@gutenberg.uoregon.edu>
In-Reply-To: <000501bd9a82$1bc0fb60$250aea18@wraithian.lvcablemodem.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Jun 1998, Rick wrote:

> I want the dimensional www to point to this server, but point to a webpage
> like /dimension.
> That way it pulls up their webpage instead of mine which resides in the http
> root directory.

You need to set up VirtualHost directives in your httpd.conf (assuming
that you're using Apache). Like this:

<VirtualHost www.domainname.com>
ServerAdmin webmaster@domainname.com
DocumentRoot /www/domain-htdocs
ServerName www.domainname.com
ErrorLog logs/domain-error_log
TransferLog logs/domain-access_log
</VirtualHost>

HTH

Sean



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?Pine.SGI.3.96.980618104538.23379N-100000>