Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 subdomains in IIS
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 17 September 2003 :  09:53:39  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
How do I set up subdomains in IIS? Did a quick search on google but found only docs of no interest.. as usual =)

/Tribaliztic
- www.gotlandrace.se -

dayve
Forum Moderator

USA
5820 Posts

Posted - 17 September 2003 :  10:27:38  Show Profile  Visit dayve's Homepage
Right Click on the web site in IIS and select Properties. Next to the IP Address on the Web Site tab, click on the Advanced Tab. Edit the host header and add additional entries for the subdomain names you want.



Edited by - dayve on 17 September 2003 10:28:32
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 September 2003 :  11:29:18  Show Profile  Visit Gremlin's Homepage
It depends on whether you want your subdomain to have it's own website and root foder associated with it, technically the above is what IIS calls an "Identity" (most people just call them aliases).

A subdomain would normally be a completely new IIS website to give it it's own root folder etc.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 17 September 2003 :  12:59:46  Show Profile  Visit dayve's Homepage
Gremlin, you are 100% correct. I'd also like to add since we are getting into detail that normally when you create additional web sites and you don't assign a Host Header, you will not be able to share port 80. When creating a new website, you must add a host header in order to take advantage of using the default port 80. This process is extemely easy to do and can be done when creating the new website.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 September 2003 :  13:12:46  Show Profile  Visit HuwR's Homepage
quote:

you don't assign a Host Header, you will not be able to share port 80.


Even more importantly, without a host header IIS will be extremely vunerable to DOS attacks and hacking attempts.
Go to Top of Page

ajhvdb
Junior Member

Netherlands
392 Posts

Posted - 17 September 2003 :  14:51:23  Show Profile
Huwr,
Why? Do you have more info..
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 17 September 2003 :  15:02:26  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Hm.. when I add a subdomain as you explained above I still end up on the same site.
I would like to have forum.site.com to point to wwwroot\forum and site.com to point to wwwroot

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 17 September 2003 :  17:08:24  Show Profile  Visit dayve's Homepage
quote:
Originally posted by tribaliztic

Hm.. when I add a subdomain as you explained above I still end up on the same site.
I would like to have forum.site.com to point to wwwroot\forum and site.com to point to wwwroot



where did you add the entry for forum.site.com? In the Default Web Site? If so, remove that Host Header entry and then create a new web site. During the process you will see that you are asked for a path and then a host header. Fill in the path you want and the host header and keep the port 80. when you are done you should be able to use the new subdomain to the directory you specified when creating a new web site.

btw, you can only create multiple web sites with Windows Server Family. Windows XP Professional will not support multiple web sites.

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 17 September 2003 :  19:31:25  Show Profile
You only have one website on XP Pro/W2K Pro.

Subdomains are typically separate web applications under an existing web site. Host headers typically divert incoming traffic to different web sites.

You use the IIS service manager to turn a folder under a web site to a new web application. Easier is to create a new web under the root of a web using a tool like frontpage or interdev.

Using frontpage 2000, for example, choose New - Web from the file menu, and give a folder name as part of the web, like www.<mysite>.com/mynewsubweb

Or create such a folder and use IIS service manager, properties, and click the Create button in the Application settings area.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 18 September 2003 :  02:56:07  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Okay, then I think I will get it to work..
I'm running win2k server so it would be no problem I think..
Thanks for your help! I'll get back to you if it won't work =)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07