GoDaddy Help with Multiple Domain Support (URL Rewrite problem)

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.
3/24/2010 12:42:07 PM
Gravatar
Total Posts 1

GoDaddy Help with Multiple Domain Support (URL Rewrite problem)

Hi there,

I am switching hosts after a bad experience and migrating over to Godaddy. I configured the whole thing for medium trust, and ported over the database successfully.

I have a GoDaddy account that supports multiple domains, but they do this in a very funky way, and mojoportal is having a difficult time with url rewriting.

The GoDaddy system is such that one domain is hosted in the IIS website root, and then other domains are hosted in subfolders under the root (which I believe are then treated as IIS Virtual directories). For example:

-Roothostfolderfordomain1
---subfolderfordomain2

In my case, I am hosting my MP installation as a secondary domain in the subfolder.

When you request domain2 with your browser, it goes right into the subfolder properly (with static files) and treats the subfolder as the root folder for that domain. Mojoportal however automatically does some url rewriting and redirecting, and the url becomes http://www.domain2.com/subfolderfordomain2/...

It always seems to append the subfolder name in the path.

Is there a way to get the URL rewrite functionality to not include the subfolder in the path, or to get mojoportal to correctly identify the proper root folder?

 

 

3/24/2010 1:52:26 PM
Gravatar
Total Posts 251

Re: GoDaddy Help with Multiple Domain Support (URL Rewrite problem)

i had the same problem...

my fix was to ask a refund and choose another provider, as their support said "it is normal that the url rewrite should behave like that"

In my case, i chose IIS7 on godaddy

on godaddy the url rewrite fails with ANY ASP.NET website, so it's their fault, i guess

3/24/2010 1:57:00 PM
Gravatar
Total Posts 2254

Re: GoDaddy Help with Multiple Domain Support (URL Rewrite problem)

Hi,

Try changing the Document root for your sub-domain to a directory that is at the same level as your primary domain. I'm not even sure they will allow you to do this. The problem is, mojoPortal can run in a root domain, root sub-domain or a virtual directory of either but it is not going to run in a virtual-directory masquerading as a sub-domain. This type of configuration is unique to GoDaddy and poses all sorts of issues with .NET applications in general, not just mojoPortal.

HTH,
Joe D.

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