Installing blogengine.net web version in subdomain ...

Topics: ASP.NET 2.0
Dec 9, 2013 at 10:24 PM
I have a site http://tarem.ru, and I want to install blogengine.net blog to subdomain http://blog.tarem.ru Yesterday I created subdomain blog and copied blogengine web files to it. Site doesn't see css and js files ... I am a beginner in asp.net so if you can help me - please.

Subdomain blog is located in wwwroot/blog.tarem.ru folder. Is it right ?

PS: this is not an advertisement since most of users don't live in Russia.
Coordinator
Dec 10, 2013 at 3:03 PM
Configuring and running sub-domains usually not a trivial task, if only possible using sub-application (tarem.ru/blog) is much easier. If this is not an option, I would start by deploying simplest possible "hello world" website to make sure sub-domain works properly, and only then deploying BE. BlogEngine uses URL rewriting to serve resources dynamically, most hosts also use URL rewriting to create "virtual" sub-domains. This often causes conflicts that hard to trace and resolve.
Dec 10, 2013 at 5:17 PM
Hope this might be of use - a step by step guide for adding a subdomain for the Blogengine.Net

http://blog.arvixe.com/how-to-install-blogengine-net-from-your-websitepanel-using-microsoft-web-app-gallery/

It is all about the Application Pool and web config, as I use the standard http://..localmachine/... for a local test build and then transfer over to the subdomain.somewebsite.com/... I do not change the webconfigs on my subdomain... Sorry I didn't setup our hosting...

cheers Si
Dec 20, 2013 at 7:44 PM
rtur, sisocial, thanks for your replies! I appreciate your attettion on my question.

I tried to install blogengine several times but I failed unfortunately. maybe it's simple for web-programmers, but it's not simple for regular users. Rewriting URLs, issues about visual studio =\

rtur, ok. Let me bring a new idea to blogengine.net project. Can you provide a web-version of blogengine.net already installed in /blog directory, not in the root directory ? It's just a fork for an original project, something like v.2.8-blog etc.. ?
Dec 21, 2013 at 2:55 AM
Hi AlexanderDronov,

When you created your "subdomain" did you also create an DNS entry for it too?

Looking at:

http://blog.tarem.ru/

Looks like now you don't have any files in there.


What happens when you upload the Blog engine files there?

"Site doesn't see css and js files"

Did you made sure you uploaded everything?

I notice when FTPing files one by one sometimes some files don't get transfer correctly.


Best solution is the zip the BlogEngine.Net folder first locally then just FTP that one zip folder to your server.


Then once on server unzip it there.

Then move all files to your wwwroot directory.


That should work and nothing else is required.

Now if you install it in a sub Directory

http://blog.tarem.ru/blog

Then you might have to configure that to make it work.

Have a virtual directory and point it to the folder where BE is located.

Then your main site web.config might make your /blog web.config have some duplicate settings and those you have to delete.



Best way to install is subdomain.


http://blog.tarem.ru/



Don't know of any reasons why CSS and JS files are not showing up other than them not being ftp or loaded on the server to begin with.


Let me know if this works.


Have a great day!

Brian Davis