Home > SharePoint 2010 > Create a New MySite Host Site

Create a New MySite Host Site

On a recent project we created a small SharePoint development farm using AutoSPInstaller.

The farm created perfectly, the Portal was working, UPS was working, mysites were working, all was good.

The My Site host Web app had been created on port 8080 with the URL http://ServerName/:8080/

We then decided to move this to a DNS addressable location with a (slightly)  more user friendly URL of

http://DevMySite.domain.local on port 80

I looked at extending the mysite host Web Application, but I decided to create new Web Application with a host header value instead.

The first step is to create a new Web Application with the appropriate value in the Host Header field


Make sure your Public URL is the same as the DNS A record


For this install I’m using an Alias for SQL, I like to add the word ‘Alias’ just to remind you in 6 months time how you built a system.


I’m also creating another content database, but if you have personal sites in an existing content DB, we can deal with that as well.

Now that our new web application has been created on port 80..


…we need to put in a root site collection, the name does not really matter but I used My Site Host


this needs to use the My Site Host Enterprise template.


Don’t forget to pick the Personal Site quota template


Once your site collection has been created, head over to your UPS and find the Setup My Sites link


The only thing you need to change here is the My Site Host location value, make this the URL of the new Web application you have created.


We are almost finished, run a quick IIS reset and try to create a mysite, you might get the error below, as the managed path personal is the location used to navigate to mysites, but you can change it to anything you want.


So head back over to your CA site and add the personal managed path to the new web application.


If you try to create a mysite now, you might get a different error, as each mysite is actually its own site collection.


So head back to CA and switch on Self-Service Site Collection Creation in your new Web Application.


Your new My Site host should be working.

If you want to bring in any mysites that you have created on another web app, go to CA-> Application Management –> Manage Content Databases.


Hit the Add a content database link


Pick the correct Web Application and enter the content database name that the other my sites exist in:


NOTE: The database you attach here cannot be attached to another web application in the same farm, but you can have more than one content database attached to any one web application.

Happy SharePointing !

Categories: SharePoint 2010 Tags:
  1. May 10, 2012 at 08:22

    Good step-by-step guide as always Neil!
    Do you have any recommendations in choosing “extending the host Web Application” vs. “create new Web Application with a host header value”
    By experience I used new web app with host header too, with the down side that you get an additional folder structure to manage, ie. double maintenance for solutions deployment.
    any thoughts ?

    • Neil King
      May 10, 2012 at 15:46

      Hi Francois, Thanks for the question,
      As with most things SharePoint, the answer is “it depends”, In the past I have extended web-apps in to other zones, but I have normally done this when the web-app has been in used for a while and users have the URL, also I extended and used AAM’s to create URLs for external users.
      In this instance I decided to create another web-app as this was a dev system that we had only just started using, and to be honest I wanted to find out how hard it was to create a new mysite host.

  1. May 16, 2012 at 15:00

Leave a Reply to François Souyri (@francoissouyri) Cancel reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: