Question

is it possible to create two webapplication with the same Port on IIS in PowerShell. I belive it's not extending webapplication. Each Webapplication has her own content data base. Any idea doing that with PowerShell.

Was it helpful?

Solution

As long as you use Host Headers for both web applications, you should be fine.

Take a look at the New-SPWebapplication cmdlt and be sure to specify the hostheader parameter when creating the web applications.

OTHER TIPS

You need two HostHeaders( DNS), then you can create more than one Web App on single Port.

I.e If you have www.abc.com and www.efg.com, On the Web Application Creation Page. Enter the Name of Web app, Port Number and HostHeader.

http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/02/12/how-to-create-a-second-web-application-using-the-default-port-80-in-sharepoint-2013.aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top