WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Using Host Header Names to Host Multiple Sites from 1 IP Address [IIS4].
Categories : WinNT, IIS, Web Servers
Boaz Yahav
Date : Apr 25th 1999
Grade : 1 of 5 (graded 2 times)
Viewed : 12078
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Boaz Yahav
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

SUMMARY
=======

Host header names can be used to host multiple domain names from one IP
address. To do this, perform the following steps:

1. Start the Internet Service Manager (ISM), which loads the Internet
Information Server (IIS) snap-in for the Microsoft Management Console
(MMC).

2. Right-click the Web site that should use a host header name, and then
click Properties on the shortcut menu.

3. On the Web Site tab, select the IP address that the site should use (if
you only have one IP address on the server, select All Unassigned), and
set the TCP Port that should be used (usually 80).

4. Click Advanced.

5. In the "Multiple identities for this Web Site" list, select the
identity that you want to use.

6. Click Edit, and then add the desired host header name.

NOTE: If you want this site to respond to more than one host header
name, use the Add button to add additional identities to this list.
Specify a different host header name for each identity, but be sure to
use the same IP address and port.

7. Apply these changes and start the Web site (if it is not already
running).

8. Register the host header name with the appropriate name resolution
system.

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).

If the computer is on the Internet, register the host header name with
the Domain Name System (DNS), which is administered by InterNic.

9. After the host header name is registered with the name resolution
system, test it from a browser by attempting to browse the host header
name. The browser should open the expected Web site.

WARNING: Do not use a host header name with the default Web site. This can
cause erratic behavior with add-on packages for IIS (such as Microsoft
Proxy Server) that expect the default Web site to use the IP address of
"All Unassigned", TCP port 80, and have no host header name.

MORE INFORMATION
================

To distinguish one Web site from another on the same computer, IIS uses
the following three elements:

- TCP/IP address

- TCP port

- Host header name

As long as at least one of these three items is unique for each Web site,
IIS can manage multiple sites.

When IIS receives a request for a Web page, it looks at the information
sent in by the browser. If the browser is HTTP 1.1 compliant (for example,
Internet Explorer 3.x and later, or Netscape Navigator 3.x and later), the
HTTP header contains the actual domain name requested. IIS uses this to
determine which site should answer the request.

For additional information, see the following topics in the Windows NT
Option Pack documentation:

- Microsoft Internet Information Server
- Server Administration
- Name Resolution
- About Name Resolution

- Microsoft Internet Information Server
- Server Administration
- Web and FTP Sites
- Naming Web Sites

If the browser is not HTTP 1.1 compliant, there is a way to program a core
page to display all sites available and allow the user to choose which
site to use. For instructions on how to do this, refer to the following
documentation:

- Microsoft Internet Information Server
- Server Administration
- Web and FTP Sites
- Supporting Host Header Names in Older Browsers



Setup IIS using only 1 ip address and 1 ssl key but have multiple websites
Categories : WinNT, IIS, Web Servers
How can i add mime types to IIS 3.0 and IIS 4.0?
Categories : IIS, WinNT, Web Servers
enable/disable the cookies system-globaly
Categories : IIS, Cookies, WinNT, Web Servers
windows nt php/3 file upload script
Categories : Filesystem, PHP, IIS, WinNT, Web Servers
Index Server FAQ
Categories : MS Index Server, WinNT, IIS, Web Servers
How to use the IIS Exception Monitor
Categories : IIS, Debugging, WinNT, Web Servers
The purpose of this article is to describe the process in creating scheduled mail-outs using Windows Scripting Host (WSH) and the email features of the SMTP service's CDONTS.NewMail object.
Categories : WinNT, IIS, Email, Web Servers
This Knowledge Base article will briefly describe the steps involved to set up remote debugging for use with Visual InterDev Version 6.0
Categories : WinNT, Debugging, IIS, Web Servers
how to activate connection pooling in IIS 3 and IIS 4, for access via ODBC to SQL Server 6.5
Categories : IIS, ODBC, MS SQL Server, Web Servers, Databases
Step by Step Instructions on How To Install SQL Server 7.0 on Microsoft Cluster Server
Categories : WinNT, MS SQL Server
Warning: Page has expired
Categories : Browsers, WinNT
PostgreSQL and apache web authentication source.
Categories : Authentication, PostgreSQL, Apache, Web Servers
How to use your own 404 Error file from .htaccess.
Categories : Apache, Web Servers
Caldera Openlinux 1.2 Standard
Categories : Web Servers, MySQL, PHP, Apache, Databases
apache_lookup_uri -- Perform a partial request for the specified URI and return all info about it
Categories : PHP, PHP Functions, Apache, Web Servers