Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
**My domain is WWW.Bank.com which is configured to Bank folder.**

*1)I want to access same folder by demo.Bank.com/user.Bank.com/anything.Bank.com i.e I don't want to create new sub folder in my root.*

*2)If I give URL like demo.Bank.com then internal pages should be demo.Bank.com/folder1/home.asp x likewise..
Please help. If anyone have any dummy code then please share.*


> Thank You in advance,
Posted
Comments
Andy Lanng 14-Apr-15 5:22am    
What is stopping you? Where is the issue?
F-ES Sitecore 14-Apr-15 9:40am    
There is no code involved in this, you need to get a global, or wildcard subdomain and have it's DNS entry set to the same IP as the main site. Most versions of IIS don't support wildcard subdomains so you'll need a dedicated server that you can configure to respond to any domain.

http://stackoverflow.com/questions/458757/wildcard-subdomains-in-iis7-is-it-possible-to-make-them-like-it-is-in-apache

1 solution

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