Multiple Site - Folder to Host Header problem

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.
9/30/2008 3:38:19 PM
Gravatar
Total Posts 31

Multiple Site - Folder to Host Header problem

Hey Joe,

I'm having a weird problem with multiple sites.  I had successfully setup multiple sites using folders (according to the documentation) and had a second site working properly.  For a number of reasons, it makes more sense for me to have multiple sites using host headers.  I changed UseFoldersInsteadOfHostnamesForMultipleSites to false in Web.Config and added the host header to the child site but i am getting an error when trying to access the site.  It seems to forward to a subfolder based on the sub-domain.  For example: In the browser URL: http://yogi.mydomain.com.  Result is an error looking for http://yogi.mydomain.com/yogi/.

I'm guessing there is something going wrong with the URL rewriting.  Is there something stored in the database that needs to be changed?

Anything I should check?

Thanks for the help.

Chris

10/1/2008 6:48:19 AM
Gravatar
Total Posts 18439

Re: Multiple Site - Folder to Host Header problem

Url mappngs are stored in the mp_FriendlyUrls table. Friendly urls are constructed to be relative to the root of the web site so in folder sites, the folder name is part of the friendly url so you will need to remove that part of each friendly url to get it working as a host name site. Its possible there will also be some broken links or images within your content as well.

Hope it helps,

Joe

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