Adding a domain manually to IIS

Microsoft Windows operating system, and software for Windows platform, including QuickTime Player and iTunes for Windows. We also discuss topics about Microsoft Corp.

Moderators: Josh, Don_HH2K, Mandrake

Adding a domain manually to IIS

Postby troubled1 » Wed 11 Feb, 2009 12:59 pm

I want to learn how to add and domain name manually into IIS 7 in Windows 2008 Server. I am running a server hosted by Server Intellect. It came preinstalled with Helm Control Panel which you can use to add domains and such. But I want to learn the correct way to add a domain in IIS just in case I need to, which out using a control panel.
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
troubled1
new member
new member
 
Posts: 1
Joined: Wed 11 Feb, 2009 12:54 pm

Postby Antony » Wed 11 Feb, 2009 6:03 pm

I don't use IIS myself, however, the principle of adding domain names have two steps.

1) You need to point the domain name to the recognised name servers. The name server information is provided by your hosting company. You will need to enter the name server correctly in the control panel of your domain registrar.

2) (this is the part I can't help you with) You will need to tell IIS to accept your domain and point that to a certain folder.

I hope someone can help you on this.
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6
User avatar
Antony
diamond member
diamond member
 
Posts: 14930
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Don_HH2K » Thu 12 Feb, 2009 8:10 pm

I don't know the exact process for IIS7, but I can tell you how to do it from IIS6, hoping that things haven't changed all that drastically.

  1. Create a new Web site within Internet Information Services Manager. I'm going to assume this is still as easy as going to Action -> New -> Web site.
  2. When prompted for an IP address, port, and host header to use for the site (in IIS6 this is the second dialog, after setting the site description), enter the new domain name under the "Host header for this Web site" field. Leave "port" set to 80, and only adjust the IP address from its default value if you know that you need to change it.
  3. The next dialog should let you specify where on your disk or network the site's files should be stored. Ideally this will be a separate directory for every single Web site. If possible do not create the new site's directory as a subdirectory of any other site: while IIS will do it, this usually screws up other services like ASP and ASP.NET.


Then all you should need to do is set your directory permissions (you most likely only want "Read"), which occurs in the next dialog. After that, your site should appear in IIS Manager and start automatically, at which point you can manipulate it like any other site.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0 x64; en-US; rv:1.9.2a1pre) Gecko/20090131 Minefield/3.2a1pre (.NET CLR 3.5.30729)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm


Return to Windows (and Microsoft talk)

Who is online

Registered users: Bing [Bot], Google [Bot]