I have 03 Windows Server setup with IIS 6.0, and I can%26#039;t figure out why I can%26#039;t publish multiple websites correctly. Right now, all three of my websites files are published on the web server, however when I try to go to one of the sites in a browser, I can%26#039;t get it to pull up right. It will just go to the the first website I published. I have all 3 of the websites posted in the websites folder in IIS, and have virtual directories for two sites in the default web page folder. When I look in the inetpub/www folder, I only have the webfiles for my first site that does not have a virtual directory. Do I need to somehow get all of the 3 sites webfiles in this inetpub/www folder? I have all the websites pointed at the same ip, and host names are set for each of them. The DNS is set up correctly with the domain registrar. When I try to put all of the 3 sites webfiles in the inetpub/www folder manually, only one site will pull up in the browser do to conflict. What should I do here?
A question about IIS 6.0 and posting multiple webpages.?
If I get this correct, you have three domains, pointed at the same server, and then IIS is set to us the host headers to determine which site a request belongs to.
You will need 3 seperate virtual folders pointing to 3 sepearate physical folders on disk. It does not matter where the physical folders are, they can be anywhere, they can be on different drives, even on shares of different computers.
It sounds like you have all three virtual folders pointed at the same physical folder. Assuming you want different content for each three sites, you need to change two of the three virtual folders to point to other physical folders.
No comments:
Post a Comment