Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


February 26, 2001

Can Users Find Your Domain?

RSS
Subscribe to Windows Web Solutions | See More Domains Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Several interesting user trends have likely caused administrators some heartburn (or at least some extra work) over the past year. One such user-driven trend centered around the .org (and other) suffix used in organizations’ domain names. In February 2000, several well-established organizations started experiencing what I call the dot-com trend—suddenly, every URL had to end with .com. This trend occurred because users were trying to use a URL ending with .com rather than .org. When they couldn’t access these organizations’ Web sites, they started complaining. Although the organizations weren’t pleased about having to buy additional domain names, the only alternative was to handle a lot of complaints and lose visitors. The October 2000 user logs for one major organization I hosted showed that 85 percent of all users used the .com ending on the domain name to access the Web site. The organization has never published the domain name with a .com ending. I discovered that only referrers, such as search engines, are using the .org version of the domain name.

The latest user trend is to forget about the www part of a URL when surfing the Web. Business domains, especially areas such as support, commonly don’t use the www prefix in their URLs (e.g., http://support.microsoft.com). For most nontechnical users, shorter is better, so they’re accessing public and private domains on the Internet without the www in their URLs.

After the rush earlier this year to purchase and define all those .com names, I was feeling rather smug back in October when I began the task of defining new host headers for every domain in my server—without the www. I figured that I would be able to spare my customers being plagued by users complaining that they couldn’t access a site without the www. Before I was halfway through creating the new host headers for the domains, I received an email message from one of my hosting customers. In the message, she forwarded a note from someone trying to visit her online store. The user was trying to access the site by typing a URL without the www in front of the domain name. I asked my customer why she thought that the URL should work. After she looked at the domain name again, she responded that it had just "looked right." She was right: She didn’t buy the www when she bought her domain name.

The Solution: Use Host Headers to Reuse an IP Address
Last year, when I wrote about setting up host headers on IIS, it was news. (See "How to Build a Web Development Environment," November 1999, and "Using Host Headers to Set Up a Multihomed Server," October 1999.) Today, hosting companies commonly use host headers to address most domains that don’t require a dedicated IP address (Secure Sockets Layer—SSL—sites are examples of sites that do require a dedicated IP address).

Before host headers, each domain name required a unique IP:Port combination. Port 80 is the default and is the only port that DNS uses. So, before host headers, clients that wanted to use more than one domain name to get to their site needed to have more than one IP address.

Using host headers, you can reuse the same IP address for many different domains. For example: I can use the same IP address and port number for www.myweb.com, myweb.com, and www.somebodyelsesweb.com. Both the www.myweb.com and myweb.com domains would be defined in the same virtual server and would take the user to the same home page. The other host header can use the same IP and port, but it could be defined in a different virtual server and take the user to a different home page. The specification is that one of the three elements (i.e., the host header name, the IP address, or the port number) must be unique. Using host headers to add several different domain names to one Web site is easy. You add the names on the Advanced Multiple Web Site Configuration dialog box, which Figure 1 shows. To access this dialog box, open the Microsoft Management Console (MMC) Internet Information Services snap-in, right-click the virtual Web server you’re interested in, and select Properties. On the Properties dialog box, click the Web Site tab, then click Advanced.

As always with host headers, the caveat is that if users try to access a domain for which a DNS entry exists but you’ve defined no host header matching the URL they’re using for the IP address, then IIS presents the user with either the home page of the root domain defined on that IP address or an error message, depending on the file requested. The root domain is the one domain that has a definition that uses only the IP address and port 80 with no host header. ISPs usually define their home page as the root domain on all IP addresses in the machine, so users end up somewhere they didn’t expect—but at least they don’t receive an error message.

End of Article



Reader Comments
If your host header name is not registered, why can't you combine the IP address with the host header name in the URL to get to a site?

Paul Elder March 04, 2001


I read your article and was struck by your www as a latest user trend. As of January this year I finished a 2-year stint as Manager of an ISP call center. I can tell you from experience that users have left out the www for a very long time. Every DNS (legacy) record and web header (current) we set up had both the www and non-www entries included. Our little way of keeping the racket down on our hosting accounts.

Dale Vincent May 02, 2001


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

Microsoft Touts Xbox 360 'Black Friday' Success

Microsoft this week revealed that its Xbox 360 video game console outsold its Sony PlayStation 3 rival 3-to-1 on "Black Friday," which curiously describes the three day weekend after Thanksgiving, a period that unofficially kicks off the holiday selling ...


Related Events Delivering Reliable and Effective Web-Based Applications

Making Web Application Perform Better: What to Watch, How to Watch It, and How to Fix It

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing