Microsoft Knowledge Base Email Alertz

KBAlertz.com: How to use the new renamesite operation to change the URL of a host-named site collection in Windows SharePoint Services 3.0

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 939535 - Last Review: September 11, 2007 - Revision: 1.4

How to use the new "renamesite" operation to change the URL of a host-named site collection in Windows SharePoint Services 3.0

On This Page

INTRODUCTION

Microsoft Windows SharePoint Services 3.0 includes the Stsadm.exe tool for command-line administration of Windows SharePoint Services servers and sites. Microsoft has added a new operation to the Stsadm.exe tool. This operation is called the "renamesite" operation.

This article describes how to use the "renamesite" operation to change the URL of a host-named site collection to a new URL.

MORE INFORMATION

To obtain the "renamesite" operation, install hotfix 939592. Then, use the "renamesite" operation to change the URL of a host-named site collection to a new URL.

How to obtain the hotfix

For more information about hotfix 939592, click the following article number to view the article in the Microsoft Knowledge Base:
939592  (http://kbalertz.com/Feedback.aspx?kbNumber=939592/ ) Description of the Windows SharePoint Services 3.0 hotfix package: June 29, 2007

How to use the "renamesite" operation

To change the URL of a host-named site collection to a new URL, use the following syntax for the "renamesite" operation at a command prompt:
stsadm.exe -o renamesite -oldurl oldUrl -newurl newUrl
For example, an Stsadm.exe command-line command for the "renamesite" operation resembles the following command:
stsadm -o renamesite -oldurl "http://host-named site collection URL" -newurl "http://new host-named site collection URL"
Notes
  • The site collection will remain in the same Web application and content database after the change.
  • Make sure that the new URL is reachable in the Web application. This includes the protocol scheme, the host name, and the port number.
  • The new host-named site collection URL must not already be used as an Alternate Access Mappings URL.
  • You cannot use this tool to convert a host-named site collection to a path-based site collection or to convert a path-based site collection to a host-named site collection.
  • This tool does not work with a path-based site collection.
For more information about the Stsadm.exe command-line tool, visit the following Microsoft Web site:
http://technet2.microsoft.com/windowsserver/WSS/en/library/f9f9a3eb-ce46-4dbb-a15c-9fad9eb32ec71033.mspx (http://technet2.microsoft.com/windowsserver/WSS/en/library/f9f9a3eb-ce46-4dbb-a15c-9fad9eb32ec71033.mspx)

APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kbcommandline kbexpertiseinter kbwss30postrtm kbqfe kbbug kbfix kbpubtypekc KB939535
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please