I have a brand new installation of Windows 2000 Server with ColdFusion MX (and all the latest service packs/updates for Win2k and CFMX). I also installed PHP, MySQL, and Perl...which all work fine. This is all installed on a 2.4GHz Dell server w/ 1GB of RAM and a 72GB SCSI HDD. I have a few domain names (and subdomains) that I would like to host on this server. However, when I set up the virtual web servers in IIS to do this, and browse to a domain....it tries to use an index.cfm in a completely different directory!!
Example:
Say I have 2 domain names (to make things easier to understand). domain_1.com and domain_2.com. I set up IIS to use d:\websites\domain_1 for the home directory for domain_1.com, and d:\websites\domain_2 for the home directory for domain_2.com. Now, when I browse to domain_2.com in a browser, it tries to use the index.cfm file from the domain_1 folder. However, I can view the other files/folders that are in the domain_2 folder just fine if I type them in manually - it is *only* the index.cfm that the web server is pulling from the wrong location. Why in the world would it do this?? I asked our Windows NT/2000 admin at work about this, and he said he's never had this happen.
I originally had this problem happen, and reformatted and reinstalled everything and it still happens. I am using legitimate copies of all the software I installed, too.
Has anyone ever seen this happen before? Could it possibly be a DNS issue, or is it a problem with IIS, or ColdFusion?? As far as DNS goes, I have my DNS hosted by an ISP, and *.domain_1.com and *.domain_2.com both point to my IP address.
Example:
Say I have 2 domain names (to make things easier to understand). domain_1.com and domain_2.com. I set up IIS to use d:\websites\domain_1 for the home directory for domain_1.com, and d:\websites\domain_2 for the home directory for domain_2.com. Now, when I browse to domain_2.com in a browser, it tries to use the index.cfm file from the domain_1 folder. However, I can view the other files/folders that are in the domain_2 folder just fine if I type them in manually - it is *only* the index.cfm that the web server is pulling from the wrong location. Why in the world would it do this?? I asked our Windows NT/2000 admin at work about this, and he said he's never had this happen.
I originally had this problem happen, and reformatted and reinstalled everything and it still happens. I am using legitimate copies of all the software I installed, too.
Has anyone ever seen this happen before? Could it possibly be a DNS issue, or is it a problem with IIS, or ColdFusion?? As far as DNS goes, I have my DNS hosted by an ISP, and *.domain_1.com and *.domain_2.com both point to my IP address.