Wednesday, 23 July 2014

Sharepoint More than one site on Same port 80

create the 3 web applications that will be required to host the basic set of sites for a typical deployment, these are:
Shared Service Provider Administration Site (Recommended to be called 'SSPAdmin')
My Site Host (Recommended to be called 'MySite')
The Main Intranet (or 'Portal') Site (Recommended to be called 'Intranet')
It is much simpler if all of these sites are on port 80 in IIS; this means that you do not have to remember to enter the ports all of the time. However having all three sites on port 80 means that each needs their own Host Header (required by IIS to differentiate between sites on the same port). The simplest way to do this is to create new 'Host (A)' records in DNS for each of your three sites. These should point to the IP address of your server; to do this follows these steps:
Open the DNS Management tool from Administration Tools on your domain controller
Navigate to your DNS zone
Create new 'Host (A)' record
Enter the Host header (i.e. 'SSPAdmin', 'MySite' or 'Intranet') for the site and the IP address of your server
Click 'Add Host' and repeat for each of the three sites
Now the DNS entries are configured, we can create the three web applications in SharePoint; follow these steps for all three of your web applications (i.e. 'SSPAdmin', 'MySite' or 'Intranet'):
In Central Administration, go to the 'Application Management' tab
Click 'Create or Extend Web Application' and then click 'Create a new Web Application'
Fill out the new web application screen observing the following points:
Change the New IIS Site description to read something like 'SharePoint – 80 - ' where is the name of the web application your are creating (i.e. 'SSPAdmin', 'MySite' or 'Intranet')
Ensure the 'Port' is set to 80
Set the 'Host Header' to match the DNS record you created (i.e. 'SSPAdmin', 'MySite' or 'Intranet')
Change the 'Application Pool Name' to match the 'New IIS Site Description'
Enter your service account for the Application Pool account settings
Change the 'Database Name' to read something like 'WSS_Content_' where is the name of the web application your are creating (i.e. 'SSPAdmin', 'MySite' or 'Intranet')
Leave all other settings on default and click 'OK'
Repeat for all three web applications (i.e. 'SSPAdmin', 'MySite' or 'Intranet')