Skip to main content

Posts

Creating site collections on specific content database

Sometimes there are situations where we need to create site collections with a specific content database. You could achieve this using the below steps.   Create / User existing web application in which you want to create site collections . Go to Central Admin > click Application Management > click Manage Content Databases  Select your desired web application (the one in which you want to add site collections). You can see below screen now, Note: You will be able to see a database name that is the database with which your web application is associated. In case you create a new Site collection in this web application then by default the visible database will be used.    3. Click Add new Content Database, below screen appears          4.        Add new database name and click OK, in my case I am creatin...

Host Named Site Collection

A host-named site collection allows you to address a site collection with a unique DNS name, such as “ http://collection1.com ” .  Typically you will create a SharePoint web application, and it contains many path-based site collections that share the same host name (DNS name).  For example, collection1 has a site collection at “ http://mywebapp.com/sites/collection1 ” , and collection2 has a site collection at “ http:// mywebapp.com/sites/collection2 ”.  These are referred to as path-based site collections, and is the recommendation for most corporate scenarios.  Host named site collections enable you to assign a unique DNS name to site collections.  For example, you can address them as http://collection1 .com and http://collection2 .com , which enables hosters to scale to many customers. SharePoint makes the decision on how to map the host name to the site collection when the SPSite object is constructed.  It internally uses the SPWebApplication ob...

Host Named Web Application

Normally when you create a web application in SharePoint its Url is: “ http://<Server Name>:Port” or “ https://<Server Name>:Port ”. We can also create a web application that contains a URL that is not of the above format, instead it could be “ http://mywebapp.sharepoint.com ” or “ https://mywebapp.sharepoint.com ”. In order to create, host named web application following steps is needed to be followed. 1.       We need to create a host name in the DNS. The host name will be the url, the site. In my case my host name will be “mywebapp” . 2.       You need to login to your Active Directory server to create new host entry in DNS. 3.       Create DNS entries 4.       Let’s go to the DNS server and create a new A Host with the   “mywebapp.sharepoint.com” FQDN and pointing to the web front end.   5.     ...