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

Judah McAuley judah at wiredotter.com
Tue Sep 24 19:16:00 CDT 2002


Alright, you should have the following:

There should be 2 IIS website entries.  One for www.domain.com that has
a home directory pointing to the current version of the live site.

You should also now have a new website entry that has a home directory
pointing to e:\devsg\

In that new website entry when you right-click and open up the
properties and then click on Advanced you should have an entry in the
top part of the window that shows (All Unassigned) under IP Address
(this could also be 10.0.0.3, it doesn't matter), 80 under TCP Port, and
dev.domain.com under Host Header Name.

Click on Home Directory and make sure that its pointing to e:\devsg\

In your HOSTS file on your local machine (located in
C:\WINNT\system32\drivers\etc\hosts if you are running Win2K Pro) you
should have an entry that says

10.0.0.3 dev.domain.com

You will need to kill all running IE processes on your local machine
when you change information in the hosts file just to make sure it
doesn't cache information.

Then you should be able to go to http://dev.domain.com/ and it should
bring up your index.asp page.  If it does not, make sure that index.asp
is listed as a default page for that IIS entry.  This is located under
the Documents tab in the properties for that website entry.

This should get you up and running.  Continue to holler if you still
have problems.

Judah

Chris W. Parker wrote:
> ok. i tried it and i think we're going in the right direction, but i may
> have missed a step or something.
>
> 1. the path to the home directory is...
>
> e:\devsg\
>
> 2. the ip address is "All Unassigned" conversely, www.domain.com is
> 10.0.0.3. should i also list dev.domain.com as 10.0.0.3 instead of All
> Unassigned?
>
> 3. the host header for dev.domain.com is "dev.domain.com".
>
> i also changed the HOSTS file on my local workstation to use the
> external IP address of the domain.com box. i ALSO tried using the
> internal IP address of the domain.com box. with the same results.
>
> and what results are those? when i put in dev.domain.com i am greeted
> with domain.com's homepage and not my index.asp file that i placed in
> e:\devsg\
>
>
> thanks,
> chris.






More information about the thelist mailing list