Host Name vs. Folder Multi site

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.
4/10/2011 5:35:16 PM
Gravatar
Total Posts 12

Host Name vs. Folder Multi site

Hello I am new to Mojoportal, but so far love it - GREAT.

I am attempting to configure the site for multi site, but I am not sure which to use - folder vs. multi domain.

I want the sub sites to use the same master page headers, but still have seperate user registration and features.

I attempted to configure a sub domain and point it to the main site using host name mapping, but can't get it to work.

What am I missing ??

Thanks

Dave

4/11/2011 8:01:50 AM
Gravatar
Total Posts 18439

Re: Host Name vs. Folder Multi site

Hi Dave,

did you create the host name mapping in the child site?

the sub domain really does need to be just a pointer to the main site not to a sub folder.

When you say it isn't working what does that mean? What exactly is happening? Does it show the parent site instead?

Hope it helps,

Joe

 

4/11/2011 6:09:27 PM
Gravatar
Total Posts 12

Re: Host Name vs. Folder Multi site

Hi Joe - thanks for the response.

I initially created the host name mapping in the main site, by selecting new site and entering the new sub domain as the host mapping. I have tried adding the host name mapping in the child site also, but no go there either.

I then created the sub domain on the server, but I do not see any settings for bindings or Host Headers.

There are settings for DNS entries, but that is all I see in the domain tool.

The sub domain just shows a default parking type page and that's all.

Main site is www.norulesworld.com

Sub domain is www.raleigh.norulesworld.com

Dave

4/11/2011 6:58:37 PM
Gravatar
Total Posts 12

Re: Host Name vs. Folder Multi site

I found a headers section on the sub domain where I can add custom headers.

It offers a name and value field.

I have tried several values, but no go still ??

4/12/2011 9:52:56 AM
Gravatar
Total Posts 1204
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Host Name vs. Folder Multi site

Hi Dave, I'll take an educated guess at this one, but if it still doesn't work, you may want to seek assistance with your hosting company. From what you are describing, it sounds like you have the mojoPortal pieces in place (new site, with a new subdomain assigned to it via Hostname Mapping).

You should go into your hosting DNS settings. You will want to make a new entry for www.raleigh.norulesworld.com, pointing to the same IP address as www.norules.com (if this is not shown in your DNS settings, you should be able to determine it elsewhere). Once that is in place, then incoming requests will be directed to your mojoPortal site, and mojoPortal will evaluate the host name and send the request to the appropriate site.

Hope that helps out.

Jamie

4/12/2011 9:56:58 AM
Gravatar
Total Posts 2202

Re: Host Name vs. Folder Multi site

Hi Dave,

In addition to the DNS, you need to make sure that your website is setup with a binding (IIS 7+) or host header (IIS 6-) for the second domain. Your host may call these a range of different things so speaking to them will help out a bit. If you can tell me what the name of the hosting control panel you use, I can get you detailed instructions.

HTH,
Joe D.

4/12/2011 4:37:39 PM
Gravatar
Total Posts 12

Re: Host Name vs. Folder Multi site

The host is "Arvixe" as recommended from MojoPortal.

The UI appears to be "WebsitePanel" - http://www.websitepanel.net/

I submitted a ticket with them 3 days ago on the issue.  It has been escalated, but not resolved.

Would think that a host claiming to be a specialist on Mojoportal hosting this would be a no brainer ??

Think I am going to try and get the folder version working tonight so I can play with that method to determine if it will meet my requirements.

Thanks for all your help

Dave

4/12/2011 4:54:45 PM
Gravatar
Total Posts 12

Re: Host Name vs. Folder Multi site

Right now their UI is not letting me do anything.

I just get all this useful info - I think I broke it ???

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException (0x80070032): Filename: \\?\C:\HostingSpaces\dave9663\norulesworld.com\wwwroot\web.config
Line number: 1043
Error: The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration


at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
at Microsoft.Web.Administration.Configuration.GetSection(String sectionPath, Type type)
at WebsitePanel.Providers.Web.Iis.DirectoryBrowse.DirectoryBrowseModuleService.GetDirectoryBrowseSettings(String siteId)
at WebsitePanel.Providers.Web.IIs70.FillVirtualDirectoryFromIISObject(WebVirtualDirectory virtualDir)
at WebsitePanel.Providers.Web.IIs70.GetSite(String siteId)
at WebsitePanel.Server.WebServer.GetSite(String siteId)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.Providers.Web.WebServer.GetSite(String siteId)
at WebsitePanel.EnterpriseServer.WebServerController.GetWebSite(Int32 siteItemId)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.EnterpriseServer.esWebServers.GetWebSite(Int32 siteItemId)
at WebsitePanel.Portal.WebSitesEditSite.BindWebSite() 

4/12/2011 5:22:14 PM
Gravatar
Total Posts 2202

Re: Host Name vs. Folder Multi site

Hi,

Yeah, they need to manually set your site to use the correct .net application pool. This happens if you install a .net 4 app before setting the application pool to .net 4 in WSP. Once that is done, you can open the Website properties and add a "Web Site Pointer". To do this your second domain will need to be setup as a Domain Alias in the Domains section of WSP.

HTH,
Joe D.
 

4/13/2011 8:05:04 PM
Gravatar
Total Posts 12

Re: Host Name vs. Folder Multi site

Thanks for all your help.

I have the folder version working now which is closer to what I need.

I have a couple of other questions about this, but I will post in a new topic (different subject)

Thanks again - Mojo Rocks

Dave

4/15/2011 9:45:51 AM
Gravatar
Total Posts 63

Re: Host Name vs. Folder Multi site

Hi Dave,

The error you got is an known issue in WebSitePanel. By default, when you create a new web site or virtual folder in WebSitePanel in Arvixe, the default .NET version is 2.0 Integrated Pipeline. If you upload .net 4.0 mojoPortal files there before you change the .net version, you will get an error, right? Now the funny thing is if you try to change the .net version in WebSitePanel, it throws an error as above, because the WebSitePanel is still trying to load a .net 2.0 web.config, but cannot find it, so freaked out.

The easy fix (if you have the same issue again in the future) is to delete your web.config, or rename it to something like web.config.bak, then go to WebSitePanel to change the .net version. If there is no web.config file, WebSitePanel will create one automatically, then you can change the .net verstion to 4.0 Integrated pipeline, then exit WebSitePanel, then replace the automatically created web.config with your web.config. Everything will then be normal, including the WebSitePanel. If you contact Arvixe's support, they will basically do the same thing as I mentioned.

Regards,

Jeffrey

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