View Full Version : creating subdomains
jedivn
Wed 20th Nov '02, 5:02pm
How do you create a subdomain SUB.mydomain.com with Apache?
I am running Apache 1.3.27 on XP with NTFS.
Please help.
Jedi
Dave#
Wed 20th Nov '02, 6:05pm
create a virtual host foo.domain.com with a docroot pointing to your content - add a dns entry for foo.domain.com and bish bash
bosh
jedivn
Wed 20th Nov '02, 6:50pm
Originally posted by Dave#
create a virtual host foo.domain.com with a docroot pointing to your content - add a dns entry for foo.domain.com and bish bash
bosh
how to create dsn entry for foo.domain.com?
I've recently been shown to use ReWrite engine, and it's works.
Jedi
Dave#
Wed 20th Nov '02, 7:06pm
edit the zone file add
foo IN A 127.0.0.1
or
foo CNAME foo.com
jedivn
Wed 20th Nov '02, 7:30pm
how can I edit te dns entry? I don't have the DNS server at home though.
Jedi
kippesp
Thu 21st Nov '02, 1:27am
For testing, I add entries into the /etc/hosts file. This allows me to quickly configure virtual hosts without always running a DNS server. If you use this method, both the client and the server need to have entries.
For Windows NT-based clients, edit /winnt/system32/drivers/etc/hosts
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.