Solved

Register host header in WINS

Posted on 2010-09-22
6
911 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 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