I have a site, www.domain.com. I want to set up a blog which runs on a same server but in different virtual directory, and have it available a the domain www.domain.com/blog.

How would I go about doing this? If it were blog.domain.com, then it would be easy, but with www.domain.com/blog I'm not so sure.

I'm using Windows Server 2008 / IIS 7.

I have already been through these tutorial but If some one has better approach please do let me know

Tutorial1

Tutorial2

有帮助吗?

解决方案 2

Able to run subdirectory on seprate virtual directory using URL Rewrite v2 and Application Request Routing

For more detail please see here link

其他提示

You should just be able to add it to the existing site. Something like

appcmd add VDIR /app.name:/<existingsite>/blog /path:/blog /physicalPath:/<whereYourBlogIs>

NOTE: appcmd is in the %windir%\system32\inetsrv\ directory on my machine.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top