I am hosting ASP.NET on ASPHOSTPORTAL in a sub-directory configured in iis7 as an application. i.e. http://blog.domain.com The user can also navigate to the blog via http://xxx.domain.com/blog. This is making things a bit odd as files uploaded get referenced always through http://xxx.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 asp.net at the root of my site) thanks