Skin on 2nd Site is Ignored

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/4/2014 4:30:01 PM
Gravatar
Total Posts 11

Re: Skin on 2nd Site is Ignored

Wow! I have no idea how that got there.  I know I did not write.  Anyway I made the changed uploaded to server but alas I am still get the same error when I try to add a new page. sad

 

5/4/2014 4:47:13 PM
Gravatar
Total Posts 18439

Re: Skin on 2nd Site is Ignored

I suggest install one of the latest skins and see if the problem happens using it or not, if so then it is isolated to a skin problem.

I certainly cannot reproduce this problem and no one else is reporting this error so it must be something specific to your installation.

5/7/2014 10:36:06 AM
Gravatar
Total Posts 11

Re: Skin on 2nd Site is Ignored

I understand that I have an unique problem and have been trying to troubleshoot it.  I need advice on how to do something.

In an attempt to start over I created another physical website at my host (Arvixe). It is actually a sub-domain. So at the same IP address I have main.site.com, second.site.com,  new.site.com.   I uploaded a fresh version of mp 2.4.0.3 to new.site.com. All are accessing the same SQL2012 db.

My question is this:  When I browse to new.site.com I am served my main site (without its custom skin).  I have tried to add a host name entry at new.site.com but this gives me an error.  So I think I have to make changes to the database tables from within SQL Mgmt Studio.  I have viewed various tables in the database such as the hosts and sites tables. I see that the new.site.com points to the GUID for main.site.com in the hosts table.  I think this needs to be changed but to what?

Eventually if I get new.site.com working properly I may have to port everything from the other two sites over to it so I thinks its best that I stay with one database.  However, if you think I should load a new db then that is what I will do.

5/7/2014 10:57:19 AM
Gravatar
Total Posts 18439

Re: Skin on 2nd Site is Ignored

Generally hosting like Arvixe is budget shared hosting and while they may let you add more and more sites I don't think they don't keep giving you more server resources such as memory and processing for each site. So doing that is ultimately going to slow down all the sites. As you may know there is usually a slow startup for an asp.net site on its first request because asp.net has to do a bunch of JIT (just in time) compilation of files, but after a few requests that stuff is done and it should be fast. But usually hosts have a memory limit on the web application pool and when this is reached the application pool is recycled and that means all that stuff has to be JIT compiled again. If you add more and more sites all using the same allocation of memory it will starve them and they will keep recycling because they keep reaching the memory limit right away and this kills performance. Unless you are paying for higher quality hosting usually they only give you enough memory for one IIS web site even though they will let you create more sites. You get what you pay for.

So instead of creating sub domains which are separate physical installations that require separate memory and server resources, it would be better use of resources to have only one physical installation with multiple sites by host name all running from the same single installation and a single IIS web site.

This would require a dedicated ip address that is not shared by other customers at your host, such that the first site would be accessible by ip address. Then you would only need to add dns settings for the additional host names all pointing to the same ip.

"I have tried to add a host name entry at new.site.com but this gives me an error."

you should start a new thread specifically about that problem and post the error detail from the log.

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