Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
My domain is www.xyz.com which is configured to xyz folder.

I want to access same folder by demo.xyz.com/user.xyz.com/anything.xyz.com i.e I dont want to create new subfolder in my root directory.
If I give URL like demo.xyz.com then internal pages should be demo.xyz.com/folder1/home.aspx likewise..
Please help. If anyone have any dummy code then please share.
Posted
Updated 10-Jun-14 1:56am
v2

1 solution

inside your xyz directory create a directory with name subdomains.
Inside subdomains directory, create the directory with name Demo.

now your subdomain is ready to access like

www.demo.xyz.com

hope it will work
 
Share this answer
 

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