How to access site collection with a different name?

Hello,
I have a web application with an URL like http://testsite.  And, it has a site collection
named http://testsite.
Can I have another site collection using the same web application like http://testsite/site and use alternative access mappings to map it to http://companysite?
Is this possible?
Thanks
Paul

Hi  Paul,
According to your description, my understanding is that you want to map the non-root site collection from
http://testsite to http://companysite .
For your issue, it cannot be achieved by using Alternative Access 
Mappings.  For achieving your demand, you can create host-named site collection instead of path-based site collection.
For more information, you can refer to the blog:
http://technet.microsoft.com/en-us/library/cc424952(v=office.15).aspx
http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support

Similar Messages

  • How to keep same database with two different names in SharePoint 2013 for two different applications

    Hi All,
    I have very strange situation.
    I had SP2010 production database(wss_content_contoso) migrated to SP13 few months back to migrate one site collection only while I have 15 site collections stored in this database and created a site contoso.com
    Now, I want to migrate same(wss_content_contoso) SP2010 database to SP13 and want to create contoso2.com.
    I changed database name from wss_content_contoso to wss_content_contoso2 and assigned newID during mount process.
    After this exercise, I don't see any site for contoso2.com and issue seems to be the same database. 
    My question is!!!!
    How I can keep both databases(actually same database with different names) and run both application simultaneously?
    Any help appreciated!!
    Thank you,
    AM
    AM Senior SharePoint Consultant

    You need to run Backup-SPSite/Restore-SPSite on each Site Collection you want to 'duplicate'. You cannot restore the same Content Database to the same farm as the Site Collections have the same GUID, which is stored globally for the farm.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Problem with access site collection in metadata

    Hello,
    I have question I enabled almost all  publishing feature and I don't why I cant get Site collection Access in metadata I searched every where how to get that bar plz .
    Best Regards,
    Ayesh

    Hi Ayesh,
    Per my test, it seems that the Site Collection Access is only available for the local group of that site collection which is used to store the site collection local term sets.
    To make the site collection local group available, please refer to the steps in the link below:
    http://www.dotnetsharepoint.com/2013/10/how-to-get-site-collection-local-term.html#.U-PVOvmSyd5
    After that, you will see the Site Collection Access when you click the group in Term Store Management.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Moving host header site collections to a different URL

    Background:
    We have a SharePoint 2010 farm with a single web app.  Within this web app, we have over 40 site collections.  Unfortunately when they were created, they were all put under their own explicit managed path.  So now we have over 40 managed paths
    and the recommended number of managed paths is 20.  We are planning to create wildcard managed paths and move site collections from
    https://servername/sitename to
    https://servername/U/sitename to reduce the number of managed paths. 
    The implications of this are clear for site collections that are not host header site collections.  Site collection admins will have to adjust any URLs that refer to items in the site collection.  It is less clear for host header site collections. 
    From the user's point of view, the host header URL itself will not change.
    1.  Will internal links in the host header site collections need to be adjusted like in regular site collections?
    2.  Will the e-mail address of e-mail enabled lists and libraries change?
    I would be grateful if anybody has an answer to this.
    Sheila

    If you moved http://sitename.webapplication.domain.com (ie. a host named site collection) to http://webapplication.domain.com/managedPath/sitename then it would obviously have a different URL.
    That is not what you were describing in your first post, the terminiology is a little specific and I think you're getting it a bit wrong. A web application (often) has a host header, that will not change moving a site from an explicit path to a wilcard path.
    A host named site collection is very different and more complicated
    If you are planing on converting
    http://webapplication.domain.com/site1
    http://webapplication.domain.com/site2
    http://webapplication.domain.com/site3
    to
    http://webapplication.domain.com/sites/site1
    http://webapplication.domain.com/sites/site2
    http://webapplication.domain.com/sites/site3
    Then you are not using Host Named (or host header) Site Collections, those are bog standard managed path site collection addresses.
    Now to answer your question: for users to access the sites after the move they must use the /sites/siteX version, if they use an old link then it will not work.
    There is a trick in SharePoint that will keep links that exist within the site collection consistent so that some URLs will be maintained. This is called a relative URL and means that URLs that are within the same Site Collection will automatically work
    with the new URLs.

  • Create a site collection with dedicated content db with the help of server object model

    Hi,
     I have a requirement to implement a create a new site collection with dedicated content db. i have got 2 PowerShell scripts which does the same. first i will  create a content  db and then create the sitecollection with contentdb
    parameter with the created contentdb name.
    Now the site collection created must contain few doc libs and few splists with look up columns, people picker data type, multiline of text, single line of text,choice field. hence i am thinking the below approach:
     1) create a web template and include sp doclibs, splists , site columns in this.
     2) i am thinking of a ui design to create the below:
     These are called "projects" which is actually the site collection with the doclibs, splists and must be created by sharepoint admin on click of a link in my landing page.end users access these "projects"  aka 
    "site collections" and uploads the documents into these projects and collaborate.
    so my question is :  On click of a button can I create a site collection with a dedicated content db based on the web template created with the  hel of  server  object model?
    The other approach is on click of this button call the power shell script which accepts the sitecollection name and contentdb name as parameter. is this possible in  server obj.model ?
    passing a paramter from code behind- visual web part ui to power shell ?
    and it should create the site collec based on the web template and create the content db.
    my doubt #3 : will it not throw error "request timed out" when creating the site collec and contentdb from ui ?

    Try below:
    http://sharepoint.stackexchange.com/questions/21606/programmatically-create-a-site-collection-in-an-existing-mounted-content-databa
    PowerShell is just a wrapper for the object model. You shouldn't need to reference PowerShell in your feature, just create the new site collection with C# inside your feature. There's a blog post here that illustrates some code that may get you started.
    http://blog.mastykarz.nl/programmatically-creating-sites-site-collections-custom-web-template/
    http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
    # Enable the remote site collection creation for on-prem in web application level
    # If this is not done, unknon object exception is raised by the CSOM code
    $WebApplicationUrl = http://dev.contoso.com
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null)
    Write-Host "Loading SharePoint Powershell Snapin"
    Add-PSSnapin "Microsoft.SharePoint.Powershell"
    $webapp=Get-SPWebApplication $WebApplicationUrl
    $newProxyLibrary = New-Object "Microsoft.SharePoint.Administration.SPClientCallableProxyLibrary"
    $newProxyLibrary.AssemblyName = "Microsoft.Online.SharePoint.Dedicated.TenantAdmin.ServerStub, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    $newProxyLibrary.SupportAppAuthentication = $true
    $webapp.ClientCallableSettings.ProxyLibraries.Add($newProxyLibrary)
    $webapp.Update()
    Write-Host "Successfully added TenantAdmin ServerStub to ClientCallableProxyLibrary."
    # Reset the memory of the web application
    Write-Host "IISReset..."
    Restart-Service W3SVC,WAS -force
    Write-Host "IISReset complete."
    If this helped you resolve your issue, please mark it Answered

  • How to deploy site collection has sub sites to other environments

    Hello everybody,
    I have a site collection SharePoint online.
    In the site, haven 3 sub sites.
    Now, i want to deploy this site to other environment,
    How can i do that?
    I am trying save site as template but that is not support sub site.
    Thanks and best Regards,
    QuyenPV

    Hi,
    According to your post, my understanding is that you want to backup SharePoint online site to another environment.
    For SharePoint server, we can use the PowerShell to backup the site collection with all the subsites.
    However, per the technet article below, there is no backup and restore cmdlets for SharePoint online to backup and restore.
    http://technet.microsoft.com/en-us/library/fp161374.aspx
    You can use the third-party tool to achieve this scenario.
    http://blogs.technet.com/b/akieft/archive/2012/01/09/restore-options-in-sharepoint-online.aspx
    As this is the forum for SharePoint server on-premise, I’m not familiar with the SharePoint online, for this issue, I recommend you can post a new question in the forum for Office 365/SharePoint online.
    http://community.office365.com/en-us/forums/154.aspx
    More experts will assist you, then you will get more information relation to SharePoint Online.
    Thank you for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How do I set up my second ipad with a different name?

    My second iPad keeps automatically starting up with my previous iPad's name. I don't want that to happen. I want to set this one up with a different name. How do I do that?

    Settings>General>About>Name. You can type any name that you like in there.

  • How to sign into imessage with a different apple ID

    How to sign into imessage with a different apple ID

    Why are you posting the same question in a separate thread. You have already been provided an answer.
    GB

  • How to install mountain lion with a different apple ID?

    How to install mountain lion with a different apple ID?

    More information would be helpful. If you are going to use a different Apple ID, you will need to buy Mountain Lion again. If you have a computer that has Mountain Lion installed, but Mountain Lion was purchased with a different Apple ID you must use the original Apple ID to download Mountain Lion.
    Help us help You
    I need to learn to type faster.

  • How to provision site collection using CSOM in SharePoint on premise

    Hi,
    I need to create site collection using CSOM in SharePoint on premise.
    Most of the forums discuss on provisioning site collection in SharePoint online and that does not work in on premises.
    Is it possible to provision site collection using CSOM in on premise?
    Kindly, share some reference to accomplish this.
    Thanks in advance,
    Dhijit

    Hi,
    According to your description, my understanding is that you want to create a site collection using Client Object Model in SharePoint on-premise environment.
    One option is that you can follow the article below to create the site collection with CSOM.
    Provisioning site collections using SP App model in on-premises with just CSOM 
    Another option,  I suggest you can use admin web service for SharePoint 2013 to create a site collection.
    Here is a detailed article for your reference:
    Admin.CreateSite method
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Have a new computer with a different name.  New computer does not reconize the ipod classic device?

    Have a new computer with a different name.  New computer does not recognize the ipod classic device? How can I remody this problem

    Add '''DOZEN''S''''' of giggs of ram, switch from hard disk to SSD or add inline SSC.
    Consult some free experts about potential malware infestation: BleepingComputer.com
    In windows control panel is an option to rate performance of your computer. What number does the applet rate your computer?
    http://windows.microsoft.com/en-US/windows7/What-is-the-Windows-Experience-Index

  • Deploying a copy of existing database with a different name on the same server

    I am a developer(an inexperienced one) trying to understand what is the best way to deploy a brand new database with
    the exact same schema as an existing DB on the same server, but with a different name. I want to preserve the data in all reference tables which I can do by having the relevant post-deployment scripts run after the deployment. 
    What I can't understand is how the project should be set up to deploy database Customer_2 if database Customer_1 exists on
    this server - the Visual Studio project contains DB Customer and I need to find a way to be able to deploy Customer_N (but without creating N identical DB's in the project). I checked a ton of articles and blogs, and feel dumb asking this question but haven't
    been able to understand it yet. Any help would be appreciated.

    Hello,
    Maybe the TargetDatabase and the DeployToDatabase properties can help you.
    http://www.asp.net/web-forms/tutorials/deployment/web-deployment-in-the-enterprise/deploying-database-projects
    You can deploy multiples databases from one project if you want, as explained on the following
    post:
    http://stackoverflow.com/questions/1544966/gdr-deploying-multiple-database-targets-with-one-project
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to delete the file with space in name

    Hi
    I want to delete the file "test ex.txt" file.
    i run the following command in command prompt.i can delete the file successfully.
    /bin/rm -f /mnt/"test ex.txt"
    I want to run the command from java.So i am using the following code
    String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
         Runtime rt = Runtime.getRuntime();
    process = rt.exec(cmd);
    The file was not deleted.
    How to delete the file with space in name?
    Help me

    Use the form of exec that takes an array of command + args.
    arr[0] = "/bin/rm"
    arr[1] = "-f"
    arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls.

  • How can I merge folder with the same name so that the content does not replace the other

    How can I merge folder with the same name so that the content does not replace the other?

    >
    That's only a good idea if the semantics of sayHello
    as defined in MyInterface suggest that a
    RemoteException could occur. If not, then you're
    designing the interface to suit the way the
    implementing classes will be written, which smells.
    :-)But in practice you can't make a call which can be handled either remotely or locally without, at some point, dealing with the RemoteException.
    Therefore either RemoteException must be part of the interface or (an this is probably more satisfactory) you don't use the remote interface directly, but MyInterface is implemented by a wrapper class which deals with the exception.

  • How-To: Migrate Classic Path-based SP2010 Site Collection with OOTB/SPD Workflows = To: Claims Different Path-based SP2013 Site Collection ?

    Hello,
    I want to move an entire site collection from an old SharePoint 2010 farm to a new SharePoint 2013 farm. But there are a few requirements:
    - The old SP2010 site collection contains multiple SPD Workflows and OOTB Workflows.
    - URLs must be changes as the example: 
    Source Site Collection URL: http://OldWebApp.SP2010.com/sites/OldSiteCollection 
    Destination Site Collection URL shall be: http://NewWebApp.SP2013.com/projects/NewSiteCollection
    - There are no custom solutions nor web parts.
    How to accomplis this successfully ?
    My steps would be:
    1) Copying the content database from SP2010 SQL to the SP2013 SQL via: Copy-only backup feature, or the traditional Backup & Restore.
    2) I have already the Web Application on the new SP2013 ready, So, I will just need to create the destination site collection in the SP2013 environment with the new desired URL: (http:\\NewWebApp.SP2013.com\projects\NewSiteCollection).
    3) Remove the newly created Content Database of the new site collection in the destination environment.
    4) Test-SPContentDatabase -name Old_Content_DB -webapplication http://NewWebApp.SP2013.com > C:\Issues.txt
    My worry is that the SP2010 Web Application is Classic-based and I cannot change the entire Web Application to Claims-based as it hosts other running site collections !
    Equally, My other worry is that the SP2013 Web Application is Claims-based and I cannot change the entire Web Application to Classic-based as it hosts other running site collections !
    First-Question=> I cannot run Convert-SPWebApplication as I don't want to impact the entire source nor destination web applications - How to resolve this?
    5) Mount-SPContentDatabase "Old_Content_DB" -DatabaseServer "DBServer" -WebApplication http://NewWebApp.SP2013.com
    Second-Question=> As I mentioned above that my requirement is to migrate this old SP2010 site collaction to a totally new URL in SP 2013. My concern is that after completing step-5, the site
    collection will overwrite the root new web application and it gets placed on: (http://NewWebApp.SP2013.com) !  I want it to be: (http://NewWebApp.SP2013.com/projects/NewSiteCollection) ? How to do this trick?
    Third-Question=> Will all the SPD Workflows & the OOTB Workflows work correctly after the entire site collection has been moved from SP2010 to SP2013? I am asking this because I seen this:
    (http://blogs.msdn.com/b/chandru/archive/2013/04/14/upgrading-spd-2010-workflows-to-spd-2013-workflows.aspx), and I got scared. What do you think ?
    Could you please help me out in my three questions ?

    Following are the steps:
    Take the backup of the content database in SP 2010.
    Create a classic based web application in SP 2013 using PowerShell.
    New-SPWebApplication -Name "TestApplication" -ApplicationPool "TestApplicationAppPool" -AuthenticationMethod "NTLM" -ApplicationPoolAc
    Create a content database in the web application created above.
    Mount the database 
    Mount-SPContentDatabase WSS_Content_100 -DatabaseServer SQL2012Demo -WebApplication http://sp2013demo:100
    Now convert the web application to use claims authentication:
    Convert-SPWebApplication -Identity "http://sp2013demo:100" -To Claims –RetainPermissions -Force
    Finally, migrate the users to use claims identity:
    $w = Get-SPWebApplication "http://sp2013demo:100"
    $w.MigrateUsers($True)
    See these links for more information:
    http://www.sharepointnadeem.com/2013/12/sharepoint-2013-upgrade-from-sharepoint.html
    http://www.sharepointnadeem.com/2014/01/upgrade-from-sharepoint-2010-classic.html
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

Maybe you are looking for

  • Update Termination Error while modifying PO in ME22n

    Hi All, I am facing one problem,while modifying the PO using ME22n.After modifying the PO when I save it ,Express Document "update was terminated" error comes. Can anybody please guide me on this, why it is happening .It's very urgent. Thanks in adva

  • Preview inserts signature but will not let me drag it or resize it

    I am running the latest version o Mac Preview on an iMac running Yosemite 10.10.2 In some PDF's the signature insert works fine. In others, randomly occurring, I can insert a signature but it only goes to the middle of the page. I cannot resize the s

  • Regarding  applyingb oops  in reports

    hi i  would like  to implement  report  using classes, methods can any body  suggest  which parts of the report( declaration,  display, select, loop stmts,perform....)   using methods..   can anybody give  guidliness to improve performance & readbili

  • Workitems getting stuck at expired users

    Hi, We have a case where workitems get stuck because the assigned users have expired validity. At the time of assignment, one user is set as agent. Then that user gets set to expired, however the Workitem still is assigned to that one user. This will

  • IPhoto deleted my photos.  I'm not sure how this happened, but how do I recover them?

    iPhoto deleted photos I took that I do need.  I'm not sure how this happened but they are now no longer anywhere on my Mac.  How did I get them back?