From: Andrew Bates (andrewb@litecode.net)
Date: 07/04/02


Message-ID: <3D245F87.4060907@litecode.net>
Date: Thu, 4 Jul 2002 09:34:08 -0500
From: Andrew Bates <andrewb@litecode.net>
Subject: Re: apache


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Pratt wrote:

| I have a domain currently and want to set up sub domains. how do I set
| it up through apache and point it to an internal IP address? i.e.
| subdomain.mydomain.com
|
|
| Mike

You would set them up just like a real domain. the steps are as follows.

Setup the DNS "IN A" for your subdomain.domain.com (in the domain.com's
dns record)

Then in apache, you would have a "NameVirtualHost" declaration if you
only have 1 IP address.

Then you would setup a "VirtualHost" declaration.
~ (http://httpd.apache.org/docs/vhosts/)

Then you should just HUP the process and you can connect as long as the
dns record has updated.

- - Andrew Bates
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9JF+HtOAWfQrkHNERAsYlAKCV+OjemsXupLLPpXyj7t337jBZJwCgqpcs
F0j9oLOy2i6QhKiHPD0H8Aw=
=BTlu
-----END PGP SIGNATURE-----