Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm setting up SharePoint 2013 as a company intranet site, and we want to implement My Sites; I know the best practices call for placing them in their own web application and content DB, but we'd really like to avoid using a different host name or port, and just keep their URL inside the main site.

What we want:

http://intranet.company.com - main company Intranet portal
http://intranet.company.com/mysites - My Sites

I know this is possible by creating a managed path and two site collections, but I can't seem to find a way to separate the two web applications, their application pools and their content DBs.

Is it possible to achieve this URL scheme but still keep these components logically isolated?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You cannot do this with two separate web applications. A SharePoint web app cannot run under the site structure of another.

The best you could do here is put the My Site host in its own site collection and put that site collection in a different content database than the rest of the web application.

share|improve this answer
    
Exactly what I was fearing... fine. How can I put the site contents in a specific content DB? I can't find any option for selecting that when creating the site collection. –  Massimo Apr 9 '13 at 20:22
    
First, create a new content database for your web app (see technet.microsoft.com/en-us/library/cc825314.aspx). Once you have the additional content database, use the Move-SPSite cmdlet to move your site collection to the new databases (technet.microsoft.com/en-us/library/ff607915.aspx). –  John Chapman Apr 9 '13 at 20:24
    
Ok, thanks. Looks like providing an option to select the DB from the beginning would have been really too much... –  Massimo Apr 9 '13 at 20:25
    
In this instance, you might use the first content database as the one that is used by personal sites, etc. And then move the main site collection to a new content database. That way when new personal sites get added, they automatically go in the correct database. –  John Chapman Apr 9 '13 at 20:27
2  
Last I remember content databases are "load balanced" in that Sharepoint will distribute the content databases evenly to all databases that are in the Ready/Online state. To deal with that, I had to periodically run stsadm command to move My Sites into our desired My Site content database. –  PirateEric Apr 9 '13 at 21:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.