Solved

Register host header in WINS

Posted on 2010-09-22
6
928 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 

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

Suggested Solutions

Title # Comments Views Activity
website went down 6 77
.net x32 Application on win 2008 NOT WORKING on Windows 2012 x64 bit 2 68
WebSite Direction 1 79
Link failure 16 89
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 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