Hi, Guys
How Do I host two websites using only one static address.
like how do i do this:
www.marketing.company.com
www.services.company.com
Thanks Guys
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Lalit MPosted Dec 5, 2009, 6:45 AM
- Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
- In the Internet Information Services window, expand * server name (where server name is the name of the server).
- Right-click the Web site that you want, and then click Properties on the shortcut menu that appears.
- Under Web Site Identification, select the IP address that you want assigned to this Web site in the IP Address list.
- Click the Advanced button.
- Under Multiple identities for this Web Site, click the IP address, and then click Edit.
- In the Host Header Name box, type the host header that you want. For example, type www.example1.com. Add the port number, select the IP address from the list, and then click OK.
- In the Advanced Multiple Web Site Configuration dialog box, click OK.
- In the Web site name Properties dialog box, click OK to return to the IIS console.
- Right-click the next Web site that you want, and then click Properties on the shortcut menu.
- In the IP Address list, select the same IP address that you selected in step 4, and then click Advanced.
- Under Multiple identities for this Web Site, click the IP address, and then click Edit.
- In the Host Header Name box, type a unique host header for this Web site. For example, type www.example2.com, add the port number, select the IP address from the list, and then click OK.
- In the Advanced Multiple Web Site Configuration dialog box, click OK.
- In the Web site name Properties dialog box, click OK.
- Repeat steps 10 through 15 for each Web site that you want hosted on this IP address.
- Register
the host header names with the appropriate name resolution system --
for example, a Domain Name System (DNS) server or, in the case of a
small network, a Hosts file.
The Web sites are now configured to accept incoming Web requests, based on their host header names.The Web site name Properties dialog box appears (where Web site name is the name of the Web site that you selected).
The Advanced Web Site Identification dialog box appears.
NOTE: If you want to configure this Web site with additional identities, click Add. Use the same IP address and TCP port, but enter a unique Host Header Name, and then click OK. For example, if you want to access the same Web site from both the Internet and a local intranet, you could configure the Web site identity in the manner shown in the following example:
The Advanced Web Site Identification dialog box appears.
You return to the IIS window.