Solved

Register host header in WINS

Posted on 2010-09-22
6
907 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

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…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

21 Experts available now in Live!

Get 1:1 Help Now