Migrating from folder-based to hostname-based multi-site

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/13/2009 8:55:57 PM
Gravatar
Total Posts 31
There are 10 kinds of people in the world, those who know binary, and those who don't

Migrating from folder-based to hostname-based multi-site

I have a working installation using multiple folders to host multiple sites.
The site is using the scheme http://hostname/somefolder/Default.aspx for the various sites with a different "somefolder" folder name.

We now plan to give each child site its own domain name and point all of these domain names to the server's true IP.

In order to ensure we can get up an running smoothly, is this the correct re-configuration process:

1. I change the UseFoldersInsteadOfHostnamesForMultipleSites="true" to "false"
2. Save config file
3. Visit the admin options page and for each site, add the domain name to the site under "Add host name"
4. Done! (right?)

 

 


 

5/14/2009 4:48:28 AM
Gravatar
Total Posts 18439

Re: Migrating from folder-based to hostname-based multi-site

It sounds like reasonable plan, but I have never done it so I don't know if you will have any troubles. I can't think of anything that would prevent that from working. It will mean broken urls in google for a while until they re-index your new url structure. After making that change I might review the urls in url manager and make sure none of them have the previous folder name segment (they shouldn't but I would check in case any do). I'd also check every url in the menu 1 by 1 after the change to verify that all pages work.

One tip, once you move the db to a new server, delete any rows that exist in mp_TaskQueue and mp_IdexingQueue as unfinished tasks from the previous server can cause errors.

Hope it helps,

Joe

5/20/2009 10:29:42 AM
Gravatar
Total Posts 20

Re: Migrating from folder-based to hostname-based multi-site

Asterix and Joe:
Let us know how this turns out.  I'm interested in doing the same.

Thanks,

Paul

You must sign in to post in the forums. This thread is closed to new posts.