Is it possible to run multiple websites on single port of iis?
-
hello friends, Is it possible to run multiple websites on single port of iis?
-
hello friends, Is it possible to run multiple websites on single port of iis?
Yes.
Configure a Host Header for a Web Site[^]
To host more than one Web site on a Web server, you can assign a unique IP address to each Web site, designate a non-standard TCP port number for a Web site, or use host headers. Of the three methods, it is more common to use host headers than to assign unique IP addresses to Web sites or to use non-standard TCP port numbers.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Yes.
Configure a Host Header for a Web Site[^]
To host more than one Web site on a Web server, you can assign a unique IP address to each Web site, designate a non-standard TCP port number for a Web site, or use host headers. Of the three methods, it is more common to use host headers than to assign unique IP addresses to Web sites or to use non-standard TCP port numbers.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I want to know that can host 2 websites on localhost with same port numbers
-
I want to know that can host 2 websites on localhost with same port numbers
Using host headers, you can have two websites on the same IP address and port number. For example, _http://site1.local/_ and _http://site2.local/_ can both share port 80 on the same IP address. If you want both sites to be available as _http://localhost/_, then you'll have to create them as applications within a single site.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Using host headers, you can have two websites on the same IP address and port number. For example, _http://site1.local/_ and _http://site2.local/_ can both share port 80 on the same IP address. If you want both sites to be available as _http://localhost/_, then you'll have to create them as applications within a single site.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
i have hosted two applications under one site and both are running perfectly on single port. So that i raised this question. But, if i tried to created separately i doesn't supported. excellent answer from you friend. Thanx.