Port 80 error when trying to create/start a new website in IIS on Windows Server 2008R2

Error in Starting new websitePort Number assignment for New WebsitePort Number assignment for Default Web SiteHi,
 
 I have Windows Server 2008 R2 running Internet Information Service. I created a new website with port 80. But when I tried to save the settings of this website, it gave me a warning that port 80 was being used by another site (I think it is referring to Default Web Site also using port 80). I save the settings anyway and tried to start the website, but I got this error.

 Can you help?
LVL 1
sgleeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chinmay PatelChief Technical NinjaCommented:
Hi sglee,

You can stop the existing (Default) Web Site which is using port 80 and this error will go away and you will be able to start this new web site.

Regards,
Chinmay.
0
sgleeAuthor Commented:
@Chinmay
I can stop  existing (Default) Web Site, but what happens in the future when I have to create more website that will be using port 80?
0
Chinmay PatelChief Technical NinjaCommented:
Hi sglee,

It is simple, you can use host headers which allow you to host multiple sites on a single port OR you can use multiple port numbers i.e. 8080, 8000 etc.

Regards,
Chinmay.
0
Chinmay PatelChief Technical NinjaCommented:
Hi sglee,

Here is a step by step guide for configuring host headers: https://support.microsoft.com/en-us/help/308163/how-to-use-host-header-names-to-configure-multiple-web-sites-in-intern

To configure Web sites by using the Host Header Names feature, follow these steps:
1.Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
2.In the Internet Information Services window, expand * server name (where server name is the name of the server).
3.Right-click the Web site that you want, and then click Properties on the shortcut menu that appears.

The Web site name Properties dialog box appears (where Web site name is the name of the Web site that you selected).
4.Under Web Site Identification, select the IP address that you want assigned to this Web site in the IP Address list.
5.Click the Advanced button.
6.Under Multiple identities for this Web Site, click the IP address, and then click Edit.

The Advanced Web Site Identification dialog box appears.
7.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.

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:
   IP Address      TCP Port  Host Header Name

   192.168.0.100   80        www.example1.com
   192.168.0.100   80        example1.com
 

8.In the Advanced Multiple Web Site Configuration dialog box, click OK.
9.In the Web site name Properties dialog box, click OK to return to the IIS console.
10.Right-click the next Web site that you want, and then click Properties on the shortcut menu.
11.In the IP Address list, select the same IP address that you selected in step 4, and then click Advanced.
12.Under Multiple identities for this Web Site, click the IP address, and then click Edit.

The Advanced Web Site Identification dialog box appears.
13.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.
14.In the Advanced Multiple Web Site Configuration dialog box, click OK.
15.In the Web site name Properties dialog box, click OK.

You return to the IIS window.
16.Repeat steps 10 through 15 for each Web site that you want hosted on this IP address.
17.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.


Regards,
Chinmay.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.