Domain Name Change

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/19/2010 6:41:19 AM
Gravatar
Total Posts 110

Domain Name Change

Is there any way of changing the domain name on an installed instance of mojo?

One of my sites nedds to have a complete domain name change but still point to the same site if poosible?

1/19/2010 9:05:00 AM
Gravatar
Total Posts 2254

Re: Domain Name Change

Hi David,

You shouldn't have a problem with this. All you have to do is setup the actual site (in IIS or Apache) to use the new domain name. mojoPortal will accept whatever domain is setup on the site.

mojoPortal doesn't use the domain name for links or anything like that BUT If you have any content, skins or custom code that references the old domain name you will have to make adjustments where appropriate.

There is one setting which allows you to force a preferred host name. You can read about it here. If this has been set, you will just need to disable it until after your site is working on the new domain name and then you can enable it again with the new name.

HTH,
Joe D.

1/19/2010 9:09:05 AM
Gravatar
Total Posts 110

Re: Domain Name Change

Sorry, not sure if I explained myself correctly.  I have a site that is already up and running but the domain name is changing so I need to change the site to work on the new domain without reinstalling.  Is it possible to make a config change on the existing site to make this work?


Cheers.

1/19/2010 9:25:40 AM
Gravatar
Total Posts 2254

Re: Domain Name Change

Hi David,

You do not have to change anything with mojoPortal unless you fall into one of the following:

1) Have custom code using the old domain name explicitly. In other words, www.something.com is hard-coded in the custom code.

2) Your skin(s) use the old domain name explicitly.

3) You have content using the old domain name explicitly like for links or images. The editors included in mojoPortal do not use the full domain name for links and images but someone may have used the full domain name while using source view. Really, this isn't a huge issue. Most people don't go through the time to put links into their content without using the WYSIWYG editors.

4) The "AllowForcingPreferredHostName" key has been set and its corresponding setting in the Site Settings has been set to use a specific hostname.

If none of the above apply to this site, all you have to do is setup the domain's DNS to point to the server hosting the existing site.

Hope this helps,
Joe D.

1/19/2010 9:29:36 AM
Gravatar
Total Posts 110

Re: Domain Name Change

Ah, brilliant...  Easier than I could have hoped for.  Thanks.

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