Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple websites on same IP with different ports withIIS [closed]

Tags:

iis

ports

I had some test sites setup on a server that had one IP and utilized different ports for the site like this.

www.acme.com:5000 www.acme.com:6000

This worked great until a SSL certificate was installed on the server. Now the sites above are not coming up.

How do I configure them so that they come up again?

like image 959
Todd Avatar asked Apr 20 '11 17:04

Todd


People also ask

Can we run multiple website on same port and different IP?

If you want to host multiple websites on the same port and IP address, you will have to use a unique Host header. The host header is a part of an HTTP request to the server sent by a client that specifies which website it is addressed to.

How do I run multiple websites on one IIS?

IIS supports multiple Web sites on a single server. To create and host multiple Web sites, you must configure a unique identity for each site on the server. To assign a unique identity, distinguish each Web site with at least one of three unique identifiers: an IP address, or a TCP port number or a host header name.

How do I host multiple websites on one Windows server?

Hosting Multiple Websites on IIS server by Host Headers You must choose another name (Host Name) for the second IIS website to create a unique binding. To do this, Right-click TestSite and select Edit Bindings. Select the binding you need and click Edit.


1 Answers

SSL can only segmented by IP and Port. You can however can run SSL over a different port than 443 by simply adding a binding for https and a different port.

In IIS 7.x, in the Bindings for the site, you would add one for SSL and change the port:

enter image description here

What would also need to happen, which isn't shown in this image is the selection of the appropriate SSL certificate which would need to be configured on the server. With that set, you would then access the site by going to:

https://mysite:1234/...

like image 152
Thomas Avatar answered Sep 20 '22 13:09

Thomas