Solved

Register host header in WINS

Posted on 2010-09-22
6
903 Views
Last Modified: 2012-08-14
In attempt to create many sites on 1 Ip address

--If the computer is on an intranet (a private LAN that uses Internet technology), register it with --the intranet's name resolution system, such as the Windows Internet Name Service (WINS).

How is this done??? I have 4 host headers

IP address XX.XX.XX.XX
Customer1
Customer1
Customer3
Customer4




0
Comment
Question by:Nana Hemaa
  • 3
  • 3
6 Comments
 
LVL 8

Expert Comment

by:devinnoel
ID: 33739400
If you are doing anything "Internet" related at all, use DNS, not WINS.

Create an "A" (host) record for the server as it's proper server name.
Create "CNAME" (alias) records for each customer pointing to the A record for the server.

How To Configure DNS Records for Your Web Site in Windows Server 2003
http://support.microsoft.com/kb/324260


0
 

Author Comment

by:Nana Hemaa
ID: 33744664
Mine is intranet and I got the info.  below from Microsoft website
--If the computer is on an intranet (a private LAN that uses Internet technology), register it with --the intranet's name resolution system, such as the Windows Internet Name Service (WINS).
0
 
LVL 8

Expert Comment

by:devinnoel
ID: 33746007
I would still highly recommend using DNS, WINS is a dying technology. Active Directory is all based on DNS, unlike Windows NT4 which needed WINS.

Websites, webserver & web browsers all are primary designed around using DNS for name resolution, not WINS. WINS can work & wouldn't be a bad idea if you had a robust well administered WINS infrastructure. But the fact your here asking these questions indicates you probably do not & should go with the more modern technology. I would not be surprised to see Microsoft retire WINS within the next version of Windows server or 2.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Nana Hemaa
ID: 33746801
Sure..after creating the host headers in IIS 7, how do i get them to talk with DNS.  So that users can browse using the host headers.  I am not getting any detailed instructions on how to..
0
 
LVL 8

Accepted Solution

by:
devinnoel earned 500 total points
ID: 33747450
  1. Create the DNS record for the server
  2. Create the DNS aliases for the customer domains that point to the server DNS record
  3. Make sure all systems trying to access the webpage are looking at your DNS server for DNS
The link I posted earlier has details on how to create the DNS records.
  1. The browser tries to surf to www.foo.com, so it issues a DNS querry
  2. Your DNS server looks up www.foo.com, which points to mytestserver.mydomain.com & returns the IP address for mytestserver.mydomain.com
  3. The browser sends a HTTP GET to the IP address with fields in the header saying www.foo.com
  4. IIS on mytestserver.mydomain.com gets the request and looks at the header and finds www.foo.com
  5. IIS looks at the host header configuration that you've setup and sees www.foo.com goes someplace other than the default webpage, so returns webpages for www.foo.com
IIS does not directly "talk with DNS" in that respect. DNS just resolves  names to IP's.  WINS could be made to resolve the names, but it not the  best solution. WINS was only designed to resolve machine names,  workgroups, etc. It does not work with fully quallified domain names.

In my previous example WINS could resolve the IP for mytestserver, but not mytestserver.mydomain.com nor www.foo.com.
 
0
 

Author Comment

by:Nana Hemaa
ID: 33770822
OS is windows standard 2008
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now