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.Let's called the main site www.xxxx.com and the newly registered name as www.yyyy.com. The mini web is located at www.xxxx.com/abcd. Ideally what we want to do is set something up so that when someone types in http://www.yyyy.com, they will be redirected to the files in www.xxxx.com/abcd but their address bar would STAY showing www.yyyy.com so it was transparent that they were really on our same primary site.
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.
Also when someone clicks a link within the yyyy site to go to www.yyyy.com/pagename.htm, it should redirect it to www.xxxx.com/abcd/pagename.htm but still show the yyy.com/pagename.htm in the address bar.
Is there any way around this?
Thanks.