How do i set up the blog in a sub folder?

Topics: ASP.NET 2.0
Jan 13, 2008 at 9:03 AM
Basicly i have the blog working fine locally and everything is great.

But i now wish to add it to my current site like this http://blog.mysite.com/
I have never used a sub domain like this before but i have set it up just fine and my ftp shows a new folder called blog. witch in fact is like this ftp://111.11.11.1./blog/
Thats great so i now need to configure the blog to run in this new folder "blog"
The problem is it is factory set to run at the domain level.

So if any one has succeded at doing this and can help me reconfigure the site to run in a sub folder i would appreciate it very much.

Im guessing i would need to combine the web config with my current web config but im not keen on that with out conformation as i cant bare to mess up my current site.
Jan 13, 2008 at 1:33 PM
Edited Jan 13, 2008 at 1:35 PM
Hi, which version of BlogEngine.NET do you use? The latest release (1.3) should ignore the "resolve www" setting by default. If it's not for some reason, BE.NET will rewrite your http://blog.mysite.com to either http://mysite.com or http://www.mysite.com.

So, configure www subdomain policy in your settings to 'ignore' if you haven't already.

Does that help?
Mike
Jan 14, 2008 at 1:02 PM


MikevZ wrote:
Hi, which version of BlogEngine.NET do you use? The latest release (1.3) should ignore the "resolve www" setting by default. If it's not for some reason, BE.NET will rewrite your http://blog.mysite.com to either http://mysite.com or http://www.mysite.com.

So, configure www subdomain policy in your settings to 'ignore' if you haven't already.

Does that help?
Mike


Its all good I have worked it out. And im working with the previous version 1.2..
I now have blog home pages that work like this: http://blog.mysite.com/blogID1/default.aspx and http://blog.mysite.com/blogID2/default.aspx
BlogID is the blog owners user name by default but can be renamed.

Thanks Anyways :-)