Hosting Multiple Sites Based on Host Names Problems / Questins

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.
6/16/2008 4:21:19 AM
Gravatar
Total Posts 2

Hosting Multiple Sites Based on Host Names Problems / Question

Hi
Just installed the MojoPortal, and it look greats, but I have a question about hosting several sites.
I have this one server, 2003 Standard server with ISS 6.0. On this I have 4 domains pointing too it.
I was hoping to use the Mojo multiple sites using host names.
http://www.mojoportal.com/multiplesitesbasedonhostnames.aspx this link was good, and I have done that.
Now I have entered the host name for the second site, but when I go to www.secondsite.com I only get the www.firstsite.com
When I change the index side on the www.firstsite.com it allso changes the www.secondsite.com site. Why is this. What am I doing wrong? 

Regards
-AA-
 

6/16/2008 6:15:05 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites Based on Host Names Problems / Questins

It should work and does work for me. My recommendation is for the first site which will be the root admin site do not add any host names. Any un-specified host names will resolve to this site.

Add host names as needed through the web ui for secondary sites. So if the first secondary site is host www.secondsite.com then add that host name.

I do not know what you mean by " When I change the index side..."

It should take effect right away as long as your IIS is responding to all requests for the ip address. Though occasionally I have seen issues where it did not work until recycling the app pool by typing a space in Web.config and save it.

Hope it helps,

Joe

 

 

6/16/2008 6:20:30 AM
Gravatar
Total Posts 2

Re: Hosting Multiple Sites Based on Host Names Problems / Questins

The index side (bad english) I was thinking of the "welcome" site, or the home site, start site. I dont have a good english word for that one hehe.

Well, I have tryed what you said and written, but it does not work.

The first site is working fine. On the IIS I have 4 different Web Sites. On the site wher I have installed the Mojo, I had to under IIS put a host header (www.firstsite.com) And when I installed the mojo everything works fine. But not the second site.

I think I must see a bit closer if am missing something, not sure ... :)

 

-AA-

6/16/2008 6:28:15 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites Based on Host Names Problems / Questins

Since you are using host headers in IIS, you need to add host headers for every host that you want to use in that specific IIS site.

In other words if the IIS site is not sharring that ip address with other IIS sites, you would not need any host headers. But as soon as you add the first host header, now that site will only respond for that host name. So you need to add additional host headers to that site corresponding to all the host names you plan to use with mojoportal.

Hope it helps,

Joe

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