[thelist] creating a subdomain for a website (win2k)
Chris W. Parker
cparker at swatgear.com
Tue Sep 24 19:28:01 CDT 2002
> -----Original Message-----
> From: Judah McAuley [mailto:judah at wiredotter.com]
> Sent: Tuesday, September 24, 2002 5:15 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] creating a subdomain for a website (win2k)
>
>
> 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\
what i did in the vey beginning was right-click the server and choose
New > Website
so now i have what looks like this...
+-webServer
|
+--www.domain.com
|
+--dev.domain.com
should i have chosen New > Virtual Directory under www.domain.com ? that
just didn't seem right since i don't want a directory, but rather a
site.
> 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.
yes, this is correct.
> Click on Home Directory and make sure that its pointing to e:\devsg\
yes it is.
> 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
yes, it is as you say.
> 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.
i did this also.
> 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.
instead of working correctly, it shows me www.domain.com instead of
dev.domain.com.
hopefully this time i've presented the mistake i made.
thanks,
chris.
More information about the thelist
mailing list