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.
Using the latest release (2.2.7.8), I've tried creating multiple sites but am having no luck.
I've followed the instructions and have the sites created, but can't access them, getting the standard asp.net error page telling me that I should turn custom errors off. Even turning those off, I get the page. Looking at the error log in the Data directory, I don't see any events logged there that are of interest. In fact, deleting the log and reproducing the error by trying to access the second site doesn't even recreate the error log.
It's a hosted site, so I can't get to the event log. Any thoughts?
Thanks.
-- Michael
Hi Michael,
Please tell more about how you are setting up multi sites.
Are you trying to use host name based or folder based sites?
Do you have a fixed ip address?
Are you hosted in Medium Trust?
Does everything in the first site work ok?
Best,
Joe
Thanks for the reply, Joe.
1) Using host names. Have three pointing to the same IP, all valid in DNS and all resolving correctly.
2) Sites are hosted, so likely are fixed but may be dynamic. Hoster handles DNS servers as well, so it's all black-boxed.
3) Full trust, according to their docs. Haven't run into any issues anywhere else re: privileges.
4) First site works like a charm.
I'm asking the provider to pass me any event log entries they can dig up for the site, but they've been slow responding. As soon as I can finish downloading the site to my local box, I'm going to try it on my hardware to see if I can duplicate the problem, but that'll take some time.
Thanks for any pointers you might be able to provide. Great work you've done on this project, btw!
Sites are hosted, so likely are fixed but may be dynamic.
Its possible even if your host is giving you a "fixed ip" that the same ip may be used by other sites on the same server and they may be using IIS host headers to resolve the correct site. In that case you would need the host to add host headers for the additional domains or hostnames. If you can't access the first site from the browser using the ip address that is probably the problem. If your site is responding to that ip address then it should work without IIS host headers. If you don't have a fixed ip address its not going to work.
Hope it helps,
Hi Joe,
You're right that the IP address isn't solely mine -- it's shared with a whole bunch of DNS names that are split by IIS' host header parsing. I can't hit the site via IP for that reason.
While I'm not yet sure what the ultimate problem was, the hoster (webhost4life) has done something to fix the issue with one of the subsites, but the other still have the same problem. I've got a query in to their help desk to ask what they did (and to ask them to do the same thing with the other subsite), and if I get a coherent answer back from them I'll post it here in case this ever comes up again. This is going to rear its head again real soon, as I'm using temporary DNS names until we can get the sites up and working the way we want, since we're migrating from our old sites to mojo and can't switch over until we get everything just so.
Thanks for the quick response. You the man!
Sigh. It's always the simple things. And I've seen this in the past, so I should definately know better!
Whenever one sees the default error page saying to turn off custom errors, and they ARE off, it's because the website's .NET version is wrong. Always always always.
That was the fix. Multiple sites are working swimmingly.