[thelist] creating a subdomain for a website (win2k)

Anthony Baratta Anthony at Baratta.com
Tue Sep 24 16:31:01 CDT 2002


At 01:54 PM 9/24/2002, Chris W. Parker wrote:

>right now we've got, www.domain.com and i'd like test.domain.com or
>dev.domain.com or something like that. (maybe even requiring
>authentication for security purposes. now that i'm thinking about it,
>this doesn't even need to be accessible from the outside since bossman
>says i can't work on the site except if i'm in the office. so it really
>only needs to be an internal thing).

If you don't want it public, it's very simple.

1 - Setup a New Virutal Web Service in IIS and give it the hostheader of
test.foo.org. (Of course replace test.foo.org with your new subdomain and
domain name.

2 - Find your hosts table (Win2K/Nt c:\winnt\system32\drives\etc, Win9X
c:\windows) and add the following:

         123.123.123.123         test.foo.org

(Of course put your public IP in and your new domain name instead.)

3 - Push up all your test content to the new virtual service.

Close all your browsers and re-start them. Enter in the new URL. La'bing
you are golden.

Good Luck.

P.S. If you want the URL to be public you'll need to update the DNS
settings on the server that is hosting the Domain Name for you. Steps there
depend upon who and what is hosting DNS for you.

---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list