poppastring / dasblog-core

The original DasBlog reimagined with ASP.NET Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What needs to be done incase multiple blogs are needed?

twoelfer opened this issue · comments

I understand, dasblog currently only supports one user. However, i do need several blogs on my server. (3 actually: blogs.die.de/tw, blogs.die.de/aw and blogs.die.de/cm ) [i'm currently using blogengine.net, which does support multiple blogs, but doesn't have a .net core version.]

Any suggestions how i could set it up like this?

WM_THX
-thomas woelfer

@twoelfer
Yes, dasblog only supports one user but it was always my intent to support multiple users (added an issue for that).

I believe you can support that scenario you are describing. For example, I currently have my blog hosted on Azure, I placed my blog in a sub folder "poppastring.com/blog". I assume I could also add another sub folder and install dasblog there, also for example, poppastring.com/info and deploy.

Does your web host support sub applications/folders?

@poppastring
Mark, i'm also hosted on azure. Are you saying you would just run 3 instances of dasblog in separate subdirectories? i'm not sure azure supports this. i can try though - however, i was under the impression, it's more an 'one-webapp-per-website' kind of setup that we can build in azure. So i was hoping for "multiple endpoints" in dasblog. Also, this way, i would have 3 instances of dasblog running, which is not so good from a resource consumption pov and, of course, not easily managed...

Anyway: I will try to do this.

@twoelfer

So I got two instances of dasblog working under App Services for Window:

I had to create a new virtual directory for the additional dasblog deployment:
image

On the second instance I had to change the web.config as follows:
image

...and also the associated config files.

I hope this helps!

Thank you!