Directing Domain name to subfolder of existing web?
Not sure if this is possible or not but hopefully someone here will know. My website is being hosted on a Windows Server with IIS 5. We have a website that lives in a sub folder of our site. We have registered a new domain name for this mini website so it can be accessed directly.
Currently we have both sites pointing to the same IP address and have an ASP index file that reads where they are trying to go and directs xxxx.com to home.asp and yyyy.com to xxxx.com/abcd but it also then puts www.xxxx.com/abcd in the address bar. This is what we don't want to happen.
If I'm understanding you right, then what I would do is:
Set up two sites under IIS. One pointing to your main site directory and one pointing to the sub-directory. In the properties for the second site one the "Web Site" tab click the "Advanced" button. Now click add and add the domain you want to use (yyyy.com)
With this set up the first IIS site will anwser to anything that is not yyyy.com and the second site will answer to yyyy.com.