hotex
asked on
IIS 7 default document
Dear Experts,
How to set different default document for different domain that point to the same folder?
for example.
Domain www.example.com
default document: index.aspx
point to folder: c:\websites\example\
Domain test-1.example.com
default document: index.aspx?id=test1
point to folder: c:\websites\example\
Domain test-2.example.com
default document: index.aspx?id=test2
point to folder: c:\websites\example\
Please advise how to make above case works, as the iis7 setting use the shared web.config for default document.
Thank you.
How to set different default document for different domain that point to the same folder?
for example.
Domain www.example.com
default document: index.aspx
point to folder: c:\websites\example\
Domain test-1.example.com
default document: index.aspx?id=test1
point to folder: c:\websites\example\
Domain test-2.example.com
default document: index.aspx?id=test2
point to folder: c:\websites\example\
Please advise how to make above case works, as the iis7 setting use the shared web.config for default document.
Thank you.
best way of browsing with other defaults is
follow the url:
1: http://www.example.com
2: http://www.example.com/index1.aspx
3: http://www.example.com/index2.aspx
you can all three links from above urls.
thats all
follow the url:
1: http://www.example.com
2: http://www.example.com/index1.aspx
3: http://www.example.com/index2.aspx
you can all three links from above urls.
thats all
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You have to click on website name in IIS7 -> Double Click on Default Document -> Click on index/default page which you want to set -> Set it on top using Move UP button in the right
You have to these steps for all the websites.