Hosting in sub-domain issue?

Topics: ASP.NET 2.0
Sep 11, 2010 at 1:19 PM

I am hosting BlogEngine.net on Godaddy in a sub-directory configured in iis7 as an application.i.e. http://blog.domain.comThe user can also navigate to the blog via http://www.domain.com/blog.  

This is making things a bit odd as files uploaded get referenced always through http://www.domain.com/blog/images/file.jpg as opposed to http://blog.domain.com/images/file.jpg


How can I configure so that all references are done via http://blog.domain.com/ (I do not want to have to put blogengine.net at the root of my site)thanks