Solved

Register host header in WINS

Posted on 2010-09-22
6
922 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
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
What You Need to Know when Searching for a Webhost Provider
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

680 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