IIS7 Virtual Hosts and server wide Virtual Directories.
Posted on 2009-04-01
Moving from Sambar Server on XP to IIS7 on Server 2008.
Sambar supported the following 2 mechanisms.
1 - I can have any number of websites using the same IP address.
I use DNS to map the name of the site to Sambar Server. Sambar Server has a vhosts.ini file which joins the website name (test.salesops.domain.local for example) to its particular set of files (D:\WebSites\Test\SalesOps\public_html for example).
2 - I can create system wide virtual directories.
This allows me to create a store for shared resources - css, js, graphics, sound, etc. without having to have copies in every web site.
I am a total novice with IIS7. I've managed to get IIS7 working and PHP installed using FastCGI.
I now want to move my existing sites.
The DNS records are pointing to the new server and I'm ready to start copying the sites.
My problem is one of terminology (what does Microsoft call these facilities) and knowledge of IIS (I don't know if IIS supports these facilities).