Click here to Skip to main content
15,915,744 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear,
I have a hosting which I need to redirect correctly two websites, subfolders in two separate sites running on ASP. NET and the physical layout is as follows.


\ root
\ site1
\ site2

Logically, from the registered domain hosting, you can access web sites as follows

www.domain.com/site1
www.domain.com/site2

According to the requirement, what I need is to behave as follows.

For the site1

site1.domain.com

For site2

site2.domain.com
Posted

1 solution

could you try this one.
Sub Domain Rewrite
 
Share this answer
 
Comments
Hassan Sajedi 14-Feb-12 3:51am    
thanks for your help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900