How to chage a sharePoint URL
Hi folk, I need to change a site URL From: http://server TO: http://server:2003/sites/intranet How can I change it. I tried the extend option and it works only to change the URL to http://server:2003, but not to http://server:2003/sites/intranet. also I tried AAM ,but no use. Thanks.
June 15th, 2010 5:20am

You may want to use IIS Redirection for this - if youre on IIS7, you will need to enable the feature in IIS installation. SharePoint alone isnt a good way to redirect to a new port and subsite. Good luck!Chris McNulty MCSE/MCTS/MSA/MVTS http://www.kma-llc.net | blog http://blogs.kma-llc.net/microknowledge http://blogs.kma-llc.net/microknowledge
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2010 5:53am

Here's what I've done the past to make this happen, without the use of AAMs (I needed to change the URL of a SharePoint web application from http://foo.com to http://bar.com): Backup your SharePoint environment in its current state so you have a stable snapshot of the environment before you start your changes. Create a new web application in the farm named "http://bar.com". Ensure that all of the features and settings that are currently configured on http://foo.com are also configured and enabled on the new http://bar.com web application. Notify users that the SharePoint sites within http://foo.com will be unavailable until you sound the all clear Detach all content databases from the http://foo.com web application (I use Central Admin, open the web app's content databases from the Application Management page and note the exact name and location of each content database associated with the current web application. When detaching the database in the Central Admin site, remove them from the web application WITHOUT deleting them from SQL Server on the back end. Open the content databases page for the http://bar.com web application in the Central Admin site, and add the content databases you noted in Step 3 to the new web application. This will add in all the site collections that are in the content databases into the http://bar.com web application. Any URLs generated systematically by SharePoint will be changed from pointing at http://foo.com to http://bar.com. Any user-created links, as well as bookmarks on the client side of things, will not be updated. Open the http://bar.com and test the it to ensure that all site collections were successfully moved to the new URL without error. Once you and your site owners verify that everything went smoothly, inform users that the new URL is now open for business. JohnMCTS: WSS v3, MOSS 2007, and SCOM 2007 Now Available on Amazon - The SharePoint 2007 Disaster Recovery Guide. My blog: My Central Admin.
June 15th, 2010 6:22am

Hi Shehab, as far as I understand you want to move your current site from the root to a managed path under sites/*. There are two ways to achieve this. One would be to export your site using stsadm.exe -o export -url http://server:2003 -filename "C:\export\root.cab" -includeusersecurity -versions 4 and import with stsadm.exe -o import -url http://server:2003/sites/intranet -filename "C:\export\root.cab" -includeusersecurity -versions 2 or to use stsadm.exe -o backup (see the exact syntax using stsadm.exe -help backup) and stsadm.exe -o restore. If you use the backup method I think you would first have to delete the site from your root path. In both cases it would be the best to take a backup of your content db firtst. Best regards MOSS_Test_Dummy
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2010 8:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics