apache
Andrew Bates
andrewb at litecode.net
Thu Jul 4 14:34:08 CDT 2002
-----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-----
More information about the Kclug
mailing list