RE: multiple sites with cf 8 and iis
there isn't a centralized way of doing so without using a dns server that I am aware of. I just use a local DNS server. Then you set up your dev machine to use the local dns as a primary dns and the real dns as a secondary dns. Eric Original Message Subject: RE: multiple sites with cf 8 and iis From: Adrian Lynch [EMAIL PROTECTED] Date: Mon, August 20, 2007 11:12 pm To: CF-Talk cf-talk@houseoffusion.com On my machine it's in C:\WINDOWS\system32\drivers\etc. And talking of the hosts file. Does anyone have any ideas about setting up a hosts file like system for a LAN without running a DNS server? I'd like a centralised way of defining IP/address mappings that's as simple as the hosts file. This will be for a handful of windows machines. Cheers. Adrian -Original Message- From: Matthew Smith Sent: 21 August 2007 05:16 To: CF-Talk Subject: RE: multiple sites with cf 8 and iis Where is etc/hosts? Thanks for the help. -Original Message- From: James Holmes Sent: Monday, August 20, 2007 10:37 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286829 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: multiple sites with cf 8 and iis
There is a tool called easyIIS that will enabel you to host multiple websites on a Windows XP machine Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com. au/blog/ ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286839 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: multiple sites with cf 8 and iis
There is a tool called EasIIS that will allow you to host multipe websites on an XP box Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com. au/blog/ ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286842 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: multiple sites with cf 8 and iis
Assuming you are on windows (a safe bet if you're using IIS) it's typically in c:\windows\system32\drivers\etc\hosts. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: Where is etc/hosts? Thanks for the help. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 10:37 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286656 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: multiple sites with cf 8 and iis
On my machine it's in C:\WINDOWS\system32\drivers\etc. And talking of the hosts file. Does anyone have any ideas about setting up a hosts file like system for a LAN without running a DNS server? I'd like a centralised way of defining IP/address mappings that's as simple as the hosts file. This will be for a handful of windows machines. Cheers. Adrian -Original Message- From: Matthew Smith Sent: 21 August 2007 05:16 To: CF-Talk Subject: RE: multiple sites with cf 8 and iis Where is etc/hosts? Thanks for the help. -Original Message- From: James Holmes Sent: Monday, August 20, 2007 10:37 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286657 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: multiple sites with cf 8 and iis
And talking of the hosts file. Does anyone have any ideas about setting up a hosts file like system for a LAN without running a DNS server? I'd like a centralised way of defining IP/address mappings that's as simple as the hosts file. Any server that resolves name lookups would be, by definition, a DNS server DNS servers can be very easy to run and manage, and many use similar text files for configuration. Dave Watts, CTO, Fig Leaf Software ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286669 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: multiple sites with cf 8 and iis
I have modified my host file as follows: -- 127.0.0.1 localhost www_redhotkitties_com localhost/www_redhotkitties_com -- When I browse to http://www_redhotkitties_com/, I get Internet Explorer cannot display the webpage. If I go to http://localhost/www_redhotkitties_com/, I get an error that it cannot find an included template, which should not be the case. Do I have something configured wrong? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 1:05 AM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Assuming you are on windows (a safe bet if you're using IIS) it's typically in c:\windows\system32\drivers\etc\hosts. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: Where is etc/hosts? Thanks for the help. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 10:37 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: multiple sites with cf 8 and iis
unless you're using a server version of windows, IIS isn't going to serve more than 1 site at a time. BTW, entries in the hosts file would take on this form: 127.0.0.1localhost 127.0.0.1redhotkitties.com Then, in IIS you'd set up multiple sites and have them use the host header to determine which site was being visited. All of this is moot though if you don't have a server version of windows On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I have modified my host file as follows: -- 127.0.0.1 localhost www_redhotkitties_com localhost/www_redhotkitties_com -- When I browse to http://www_redhotkitties_com/, I get Internet Explorer cannot display the webpage. If I go to http://localhost/www_redhotkitties_com/, I get an error that it cannot find an included template, which should not be the case. Do I have something configured wrong? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 1:05 AM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Assuming you are on windows (a safe bet if you're using IIS) it's typically in c:\windows\system32\drivers\etc\hosts. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: Where is etc/hosts? Thanks for the help. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 10:37 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286717 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
I have modified my host file as follows: -- 127.0.0.1 localhost www_redhotkitties_com localhost/www_redhotkitties_com -- When I browse to http://www_redhotkitties_com/, I get Internet Explorer cannot display the webpage. If I go to http://localhost/www_redhotkitties_com/, I get an error that it cannot find an included template, which should not be the case. Do I have something configured wrong? Yes. First, you should read the examples at the top of your HOSTS file, if you have any. You might also look for HOSTS.SAM in the same directory for guidance on how to write entries. That said, you can only use HOSTS to do what a DNS server would do - map IP addresses to hostnames. If you want to have multiple names for a single IP address, however, you can't create aliases like you would in a DNS server; you simply map the address multiple times: 127.0.0.1 localhost 127.0.0.1 www.redhotkitties.com 127.0.0.1 www.somethingelse.com You can't create mappings to anything other than a hostname, either; there's nothing that would let you map an IP address to a URL as you're doing with localhost/www_redhotkitties_com. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286716 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: multiple sites with cf 8 and iis
unless you're using a server version of windows, IIS isn't going to serve more than 1 site at a time. unless you're using Vista. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: multiple sites with cf 8 and iis
cool! I had no idea that restriction was lifted for vista. is there a top limit? On 8/21/07, Dave Watts [EMAIL PROTECTED] wrote: unless you're using a server version of windows, IIS isn't going to serve more than 1 site at a time. unless you're using Vista. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286723 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
Thanks for the help, Dave. What I'm trying to do is somehow be able to access different sites locally. Right now, I have to delete everything from wwwroot, then copy over the files of the site I want to work on. It can be a pain to work on the different sites. Also, Dreamweaver complains that the local site root is the same for different sites. Is there any way to have the different sites accessible under different resources using mappings or virtual directories? Or any other solution to the problem? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 12:16 PM To: CF-Talk Subject: RE: multiple sites with cf 8 and iis I have modified my host file as follows: -- 127.0.0.1 localhost www_redhotkitties_com localhost/www_redhotkitties_com -- When I browse to http://www_redhotkitties_com/, I get Internet Explorer cannot display the webpage. If I go to http://localhost/www_redhotkitties_com/, I get an error that it cannot find an included template, which should not be the case. Do I have something configured wrong? Yes. First, you should read the examples at the top of your HOSTS file, if you have any. You might also look for HOSTS.SAM in the same directory for guidance on how to write entries. That said, you can only use HOSTS to do what a DNS server would do - map IP addresses to hostnames. If you want to have multiple names for a single IP address, however, you can't create aliases like you would in a DNS server; you simply map the address multiple times: 127.0.0.1 localhost 127.0.0.1 www.redhotkitties.com 127.0.0.1 www.somethingelse.com . You can't create mappings to anything other than a hostname, either; there's nothing that would let you map an IP address to a URL as you're doing with localhost/www_redhotkitties_com. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286725 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
is there a top limit? Not to my knowledge. I haven't run into one yet. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286727 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: multiple sites with cf 8 and iis
Adrian Lynch wrote: On my machine it's in C:\WINDOWS\system32\drivers\etc. And talking of the hosts file. Does anyone have any ideas about setting up a hosts file like system for a LAN without running a DNS server? Find somebody that has run servers for over 24 years and they will be able to tell you. (DNS replaced such a system in 1983.) Jochem ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286729 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: multiple sites with cf 8 and iis
Matthew Smith wrote: I have modified my host file as follows: -- 127.0.0.1 localhost www_redhotkitties_com localhost/www_redhotkitties_com That is not a valid record for a hostfile. A host file performs the function of DNS, nothing more, nothing less. You probably want: 127.0.0.1 localhost 127.0.0.2 www_redhotkitties_com All 127.0.0.x IP addresses end on the loopback interface so you van use them all. Jochem ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286728 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
Is there a way to use the differing ip addresses(127.0.0.2) so that IIS will use a different root directory? -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 12:57 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Matthew Smith wrote: I have modified my host file as follows: -- 127.0.0.1 localhost www_redhotkitties_com localhost/www_redhotkitties_com That is not a valid record for a hostfile. A host file performs the function of DNS, nothing more, nothing less. You probably want: 127.0.0.1 localhost 127.0.0.2 www_redhotkitties_com All 127.0.0.x IP addresses end on the loopback interface so you van use them all. Jochem ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286731 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: multiple sites with cf 8 and iis
What I'm trying to do is somehow be able to access different sites locally. Right now, I have to delete everything from wwwroot, then copy over the files of the site I want to work on. It can be a pain to work on the different sites. Also, Dreamweaver complains that the local site root is the same for different sites. If you're using IIS in Windows 2000 Server, Windows Server 2003, or Vista, you can define multiple virtual web servers. If you're using IIS in Windows XP, you can't do that, as Zaphod pointed out. If you need to run multiple virtual web servers in Windows XP, use Apache. However, if you don't need to actually have multiple sites running simultaneously, but can simply switch configuration to match the one you're working on, you can simply configure IIS to point to a different physical directory. You can do this with the default IIS management console utility, or with something like this: http://www.firstserved.net/help/downloads Is there any way to have the different sites accessible under different resources using mappings or virtual directories? If you're satisfied having each project within a single web server directory, just create subdirectories in your web root directory, then refer to each in your URL: http://localhost/someproject1 http://localhost/someproject2 No need for tinkering with IIS configuration or HOSTS files if you do that. You could then simply create a Dreamweaver site for each directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
Do I need to uninstall IIS to run apache? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 1:24 PM To: CF-Talk Subject: RE: multiple sites with cf 8 and iis What I'm trying to do is somehow be able to access different sites locally. Right now, I have to delete everything from wwwroot, then copy over the files of the site I want to work on. It can be a pain to work on the different sites. Also, Dreamweaver complains that the local site root is the same for different sites. If you're using IIS in Windows 2000 Server, Windows Server 2003, or Vista, you can define multiple virtual web servers. If you're using IIS in Windows XP, you can't do that, as Zaphod pointed out. If you need to run multiple virtual web servers in Windows XP, use Apache. However, if you don't need to actually have multiple sites running simultaneously, but can simply switch configuration to match the one you're working on, you can simply configure IIS to point to a different physical directory. You can do this with the default IIS management console utility, or with something like this: http://www.firstserved.net/help/downloads Is there any way to have the different sites accessible under different resources using mappings or virtual directories? If you're satisfied having each project within a single web server directory, just create subdirectories in your web root directory, then refer to each in your URL: http://localhost/someproject1 http://localhost/someproject2 No need for tinkering with IIS configuration or HOSTS files if you do that. You could then simply create a Dreamweaver site for each directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286748 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
Do I need to uninstall IIS to run apache? No, but you will want to either configure each web server to listen on different sockets, or turn IIS off when running Apache (and vice versa). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286750 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: multiple sites with cf 8 and iis
What service do I disable to turn off IIS? Under Internet Information Services, it only allows a restart. Under Computer ManagementServices and ApplicationsServices, I only see IIS Admin, nothing for IIS itself. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 3:29 PM To: CF-Talk Subject: RE: multiple sites with cf 8 and iis Do I need to uninstall IIS to run apache? No, but you will want to either configure each web server to listen on different sockets, or turn IIS off when running Apache (and vice versa). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286755 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
What service do I disable to turn off IIS? The World Wide Web Publishing service. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286756 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: multiple sites with cf 8 and iis
Thank you for all the help. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 4:25 PM To: CF-Talk Subject: RE: multiple sites with cf 8 and iis What service do I disable to turn off IIS? The World Wide Web Publishing service. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286757 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: multiple sites with cf 8 and iis
The examples above are instructing you to use host headers so that you don't have to use different IPs. Are you running this in Windows XP or a Windows server? If you can have multiple websites, they can all listen to the same IP, so long as the host header (eg something.com, something2.com, something3.com), is defined in your hosts file. If you don't have a windows server OS installed, you'd be better off going with an Apache solution to run your development on. If you must use multiple IPs, I'm pretty sure you can configure this in Network Connection-Local Area Connection-Properties-TCP/IP-Properties-Advanced-IP adresses-add and add IPs as needed. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog Matthew Smith wrote: Is there a way to use the differing ip addresses(127.0.0.2) so that IIS will use a different root directory? ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
Yes, I'm probably going to give Apache to try. (more questions to follow, I'm sure) ;) -Original Message- From: Matthew Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 4:59 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis The examples above are instructing you to use host headers so that you don't have to use different IPs. Are you running this in Windows XP or a Windows server? If you can have multiple websites, they can all listen to the same IP, so long as the host header (eg something.com, something2.com, something3.com), is defined in your hosts file. If you don't have a windows server OS installed, you'd be better off going with an Apache solution to run your development on. If you must use multiple IPs, I'm pretty sure you can configure this in Network Connection-Local Area Connection-Properties-TCP/IP-Properties-Advanced-IP adresses-add and add IPs as needed. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog Matthew Smith wrote: Is there a way to use the differing ip addresses(127.0.0.2) so that IIS will use a different root directory? ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286766 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: multiple sites with cf 8 and iis
The easiest solution out of the box for me has been to install EasyPHP2. It will deploy apache 2.2.3, MySQL 4.x, and phpMyAdmin. The only thing left to do is configure apache-cf connector, and setup virtual sites. You need to point the configuration directory option at your httpd.conf file, and the server binary at your apache.exe file. This should setup the connector for you. From there, you just need to add a virtual host, similar to what follows. You would use the NameVirtualHost param only once. Oh, and you need to change references that state deny from all to allow from all. Otherwise, you get messages about not having permission to view the file. This isn't the best method, but as it's only dev, I'm not concerned about just myself on the machine. NameVirtualHost *:80 #SomeSite VirtualHost *:80 DocumentRoot C:\somesite\www ServerName loc.somesite.com ServerAdmin [EMAIL PROTECTED] ErrorLog C:/EasyPHP2/apache/logs/somesite_error_log TransferLog C:/EasyPHP2/apache/logs/somesite_access_log Alias /phpmyadmin c:\easyphp2\phpmyadmin /VirtualHost Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286779 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: multiple sites with cf 8 and iis
Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286653 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: multiple sites with cf 8 and iis
Where is etc/hosts? Thanks for the help. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 10:37 PM To: CF-Talk Subject: Re: multiple sites with cf 8 and iis Set up entries in etc/hosts so you don't need to swap anything - make the IIS sites respond to the relevant host names. On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote: I just did a clean install of my development machine. In the past, I used coldfusion's built in web server, but had a problem configuring it to use a different folder for it's root. This time around I think I'll give IIS a try. I have five sites I am responsible for. I would like to be able to switch between them in as few steps as possible. Do I need to create a virtual directory for each one? How would I switch between sites for http://localhost/ shows the proper site? Or can I just change the mapping for / to the current site's folder? If so, where should I locate the folder for each site? Do I set up a different site in IIS for each site? If so, would I have to manually apply coldfusion to each site? I'm not really sure what I need to do so any help would be appreciated. Thanks! -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286654 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Multiple Sites on IIS 5 on XP?
Yes, you cannot create multiple sites in XP. There are several tools to do this.. Search for tools such as IISAdmin. HTH -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: 05 December 2006 11:30 To: CF-Talk Subject: Multiple Sites on IIS 5 on XP? Hi all, Is there a way to define multiple websites on Windows XP IIS 5? Obviously, on the server edition, one can right click in IIS config and create a new website easily, but my dev box is running XP pro and doesn't seem to have the functionality. http://localhost/foo/ is fine, but I want the site with it's own site root - http://foo/ per example. I'm getting fed up with having to second guess all the site relative links :) Thanks T ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262845 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Multiple Sites on IIS 5 on XP?
awesome, that's done the job. Ta muchly T On 5 Dec 2006, at 11:32, Robertson-Ravo, Neil (RX) wrote: Yes, you cannot create multiple sites in XP. There are several tools to do this.. Search for tools such as IISAdmin. HTH -Original Message- From: Tom King [mailto:[EMAIL PROTECTED] Sent: 05 December 2006 11:30 To: CF-Talk Subject: Multiple Sites on IIS 5 on XP? Hi all, Is there a way to define multiple websites on Windows XP IIS 5? Obviously, on the server edition, one can right click in IIS config and create a new website easily, but my dev box is running XP pro and doesn't seem to have the functionality. http://localhost/foo/ is fine, but I want the site with it's own site root - http://foo/ per example. I'm getting fed up with having to second guess all the site relative links :) Thanks T ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262846 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Multiple sites in IIS - Modifying DNS
Regarding the additional site we created, I might also add that we are able to ping it successfully. Sincerely, Andrew Webmaster Illinois Office of the Comptroller IllinoisComptroller.com -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 11:26 AM To: CF-Talk Subject: OT: Multiple sites in IIS - Modifying DNS Hello, I've created an additional site in IIS 6 on my development server with a unique Host Header. So there are currently two sites on that server. Now I've got my brilliant Network admin trying to that second site to the DNS. Thus far, he has failed miserably :-). He created a new primary forward lookup zone. On the new primary zone, he created a host A record corresponding to the Host Header name, but only the dns server itself is able to resolve it, and in that case, not to the second site, but rather the development home page itself. The bottom line is that he blames me, and I blame him, and we're about to take it outside, in which case, we'll be looking for a new network admin (LOL). We would greatly appreciate any ideas on how to resolve this DNS issue. Thanks! Sincerely, Andrew -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 11:12 AM To: CF-Talk Subject: RE: Multiple sites in IIS Yes, use different host headers instead of ports. Use a subdomain off your primary domain for your dev server, Russ -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: 15 November 2005 15:29 To: CF-Talk Subject: OT: Multiple sites in IIS Hi, We have one development server, and multiple production servers. For each separate server in production, I'm just creating a New Site in IIS on the development server, each using a different port. Is there a better way/best practices approach to keeping these servers separate in the development environment? Thanks in advance. Sincerely, Andrew ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224648 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
Andrew, Why the new zone? What we do is take an existing zone and add a new A record. If the zone is mydomain.com I might have. clients.mydomain.com dev.mydomain.com www.mydomain.com etc... all of them A records. -Mark -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 11:26 AM To: CF-Talk Subject: OT: Multiple sites in IIS - Modifying DNS Hello, I've created an additional site in IIS 6 on my development server with a unique Host Header. So there are currently two sites on that server. Now I've got my brilliant Network admin trying to that second site to the DNS. Thus far, he has failed miserably :-). He created a new primary forward lookup zone. On the new primary zone, he created a host A record corresponding to the Host Header name, but only the dns server itself is able to resolve it, and in that case, not to the second site, but rather the development home page itself. The bottom line is that he blames me, and I blame him, and we're about to take it outside, in which case, we'll be looking for a new network admin (LOL). We would greatly appreciate any ideas on how to resolve this DNS issue. Thanks! Sincerely, Andrew -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 11:12 AM To: CF-Talk Subject: RE: Multiple sites in IIS Yes, use different host headers instead of ports. Use a subdomain off your primary domain for your dev server, Russ -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: 15 November 2005 15:29 To: CF-Talk Subject: OT: Multiple sites in IIS Hi, We have one development server, and multiple production servers. For each separate server in production, I'm just creating a New Site in IIS on the development server, each using a different port. Is there a better way/best practices approach to keeping these servers separate in the development environment? Thanks in advance. Sincerely, Andrew ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224650 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Multiple sites in IIS - Modifying DNS
I'm doing a win2k3 server like this, with a dozen or so host-header'd domains, right now. In MS DNS at least, you set up the host entry and the * entry pointing to the shared IP. Then in IIS6 you set up the host headers with fully qualified domain, pointing to port 80. I like to use two host headers for that: domain.com www.domain.com I use the * host entry to signify 'www and anything else' although I could just put in 'www' too. If you want to add a second site, like service.domain.com then you add a new host in the existing dns record, pointing specifically to service in the New Host dialog. Then point the new host to the shared IP. Get yourself back into IIS and make up a new web site whose only host header is service.domain.com And which points to port 80 (or whatever) and thats all there is to it. To do a totally different domain, such as 'foo.com', you set up a completely new DNS record, with the host and * entries pointing to the shared IP. Do the same as above for IIS host headers and you're done. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224651 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
Hire a Network admin that knows a port from a hole in the ground. -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 9:26 AM To: CF-Talk Subject: OT: Multiple sites in IIS - Modifying DNS Hello, I've created an additional site in IIS 6 on my development server with a unique Host Header. So there are currently two sites on that server. Now I've got my brilliant Network admin trying to that second site to the DNS. Thus far, he has failed miserably :-). He created a new primary forward lookup zone. On the new primary zone, he created a host A record corresponding to the Host Header name, but only the dns server itself is able to resolve it, and in that case, not to the second site, but rather the development home page itself. The bottom line is that he blames me, and I blame him, and we're about to take it outside, in which case, we'll be looking for a new network admin (LOL). We would greatly appreciate any ideas on how to resolve this DNS issue. Thanks! Sincerely, Andrew -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 11:12 AM To: CF-Talk Subject: RE: Multiple sites in IIS Yes, use different host headers instead of ports. Use a subdomain off your primary domain for your dev server, Russ -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: 15 November 2005 15:29 To: CF-Talk Subject: OT: Multiple sites in IIS Hi, We have one development server, and multiple production servers. For each separate server in production, I'm just creating a New Site in IIS on the development server, each using a different port. Is there a better way/best practices approach to keeping these servers separate in the development environment? Thanks in advance. Sincerely, Andrew ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224652 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
I've created an additional site in IIS 6 on my development server with a unique Host Header. So there are currently two sites on that server. Now I've got my brilliant Network admin trying to that second site to the DNS. Thus far, he has failed miserably :-). He created a new primary forward lookup zone. On the new primary zone, he created a host A record corresponding to the Host Header name, but only the dns server itself is able to resolve it, and in that case, not to the second site, but rather the development home page itself. The bottom line is that he blames me, and I blame him, and we're about to take it outside, in which case, we'll be looking for a new network admin (LOL). We would greatly appreciate any ideas on how to resolve this DNS issue. Thanks! There's no need to create a new zone. Zones typically correspond to domains or subdomains. Assuming that both sites on your server use the same IP address, your network administrator only needs to create a CNAME record pointing the new host name to the old one. If the sites use different IP addresses, you need to create a new A record pointing the new host name to the appropriate IP address. In any case, your network administrator needs to learn how DNS works, since it's integral to so many things on a network. Unless you're changing DNS entries yourself, there's nothing he can really blame you for, except that you're making him do his job. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224655 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
-Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 11:26 AM To: CF-Talk Subject: OT: Multiple sites in IIS - Modifying DNS Hello, The bottom line is that he blames me, and I blame him, and we're about to take it outside, in which case, we'll be looking for a new network admin (LOL). We would greatly appreciate any ideas on how to resolve this DNS issue. Thanks! Well... honestly your network admin should know this stuff. If you're talking MS DNS CrystalTech has a nice guide for their (amateur) dedicated server users here: http://www.webcontrolcenter.com/Knowledge_Base/frmKB.aspx?KBID=564 I was able to set up all my domains and DNS using it. Jim Davis ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224656 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
There's no need to create a new zone. Zones typically correspond to domains or subdomains. Assuming that both sites on your server use the same IP address, your network administrator only needs to create a CNAME record pointing the new host name to the old one. If the sites use different IP addresses, you need to create a new A record pointing the new host name to the appropriate IP address. I agree completely. We have a mix of host headers and distinct IPs here. M!ke ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224658 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
Dave, The CNAME record is used less than the A record because it causes more traffic - more lookups. You can have multiple A records for the same IP. Personally, I think it's easier to manage just A records. -Mark -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 12:19 PM To: CF-Talk Subject: RE: Multiple sites in IIS - Modifying DNS I've created an additional site in IIS 6 on my development server with a unique Host Header. So there are currently two sites on that server. Now I've got my brilliant Network admin trying to that second site to the DNS. Thus far, he has failed miserably :-). He created a new primary forward lookup zone. On the new primary zone, he created a host A record corresponding to the Host Header name, but only the dns server itself is able to resolve it, and in that case, not to the second site, but rather the development home page itself. The bottom line is that he blames me, and I blame him, and we're about to take it outside, in which case, we'll be looking for a new network admin (LOL). We would greatly appreciate any ideas on how to resolve this DNS issue. Thanks! There's no need to create a new zone. Zones typically correspond to domains or subdomains. Assuming that both sites on your server use the same IP address, your network administrator only needs to create a CNAME record pointing the new host name to the old one. If the sites use different IP addresses, you need to create a new A record pointing the new host name to the appropriate IP address. In any case, your network administrator needs to learn how DNS works, since it's integral to so many things on a network. Unless you're changing DNS entries yourself, there's nothing he can really blame you for, except that you're making him do his job. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224660 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
CNAME records should only be used when aliasing a host that is not within the same zone, otherwise, use A records. -Justin Scott -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 1:39 PM To: CF-Talk Subject: RE: Multiple sites in IIS - Modifying DNS Dave, The CNAME record is used less than the A record because it causes more traffic - more lookups. You can have multiple A records for the same IP. Personally, I think it's easier to manage just A records. -Mark -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 12:19 PM To: CF-Talk Subject: RE: Multiple sites in IIS - Modifying DNS I've created an additional site in IIS 6 on my development server with a unique Host Header. So there are currently two sites on that server. Now I've got my brilliant Network admin trying to that second site to the DNS. Thus far, he has failed miserably :-). He created a new primary forward lookup zone. On the new primary zone, he created a host A record corresponding to the Host Header name, but only the dns server itself is able to resolve it, and in that case, not to the second site, but rather the development home page itself. The bottom line is that he blames me, and I blame him, and we're about to take it outside, in which case, we'll be looking for a new network admin (LOL). We would greatly appreciate any ideas on how to resolve this DNS issue. Thanks! There's no need to create a new zone. Zones typically correspond to domains or subdomains. Assuming that both sites on your server use the same IP address, your network administrator only needs to create a CNAME record pointing the new host name to the old one. If the sites use different IP addresses, you need to create a new A record pointing the new host name to the appropriate IP address. In any case, your network administrator needs to learn how DNS works, since it's integral to so many things on a network. Unless you're changing DNS entries yourself, there's nothing he can really blame you for, except that you're making him do his job. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224662 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
CNAME records should only be used when aliasing a host that is not within the same zone, otherwise, use A records. I'm not a DNS expert, but my understanding is that this is simply incorrect. There's nothing wrong with using CNAME records to alias hosts within a zone. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224666 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
CNAME records should only be used when aliasing a host that is not within the same zone, otherwise, use A records. I'm not a DNS expert, but my understanding is that this is simply incorrect. There's nothing wrong with using CNAME records to alias hosts within a zone. You CAN alias records within the same zone, but it's generally not a good idea because of the extra DNS lookups required to resolve them. Just because you can do a think, does not mean you should. -Justin Scott ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224670 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
The CNAME record is used less than the A record because it causes more traffic - more lookups. You can have multiple A records for the same IP. Personally, I think it's easier to manage just A records. The performance difference is pretty inconsequential, especially if both CNAME and A records are within the same zone. But more importantly, this is specifically what CNAME records are for, and it tells me clearly which name a PTR record should resolve to - the name specified within the one A record. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224671 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
-Original Message- From: Justin D. Scott [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 1:46 PM To: CF-Talk Subject: RE: Multiple sites in IIS - Modifying DNS CNAME records should only be used when aliasing a host that is not within the same zone, otherwise, use A records. -Justin Scott I don't agree with this because CNAME records pointed to A records make it easier to change IP addresses for said A records. One scenario would be 10 A records in a zone file that all go to the same IP Address on a server that uses host headers. Changing the IP address would necessitate the change of all the A records. If you use one A record, e.g. mydomain.com IN A 192.168.0.10, and 9 CNAMES, e.g. foo.mydomain.com IN CNAME mydomain.com, etc., you make life a lot easier for yourself or whoever is in charge of the DNS. Andy ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224673 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
I don't agree with this because CNAME records pointed to A records make it easier to change IP addresses for said A records. One scenario would be 10 A records For people manually managing zone files, I suppose this could make life easier. I run my own DNS hosting service that uses variables for IP addresses and generates the zones, so it isn't an issue for me personally. My reasoning is based on minimizing the number of lookups that need to be done. As a rule I try to avoid them within the same zone for that reason. It's really not a big enough issue to argue about, so to each their own :). -Justin Scott ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224676 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
You CAN alias records within the same zone, but it's generally not a good idea because of the extra DNS lookups required to resolve them. Just because you can do a think, does not mean you should. Again, though, this is what CNAME records are for. The extra DNS lookups do not cause a significant amount of traffic, in my experience, even with DNS servers that support high-volume sites. I suspect this may have been more of an issue in the past than it is now, or maybe for DNS servers that support even higher numbers of queries it is still true. However, using multiple A records for a single IP address can introduce other problems, and I prefer the set of problems you may get by using CNAME records to the set of problems that you may get by using A records for aliasing. For example, if you're using the Microsoft DNS server - which, being integral to AD and Windows Networking, many people are - you can easily screw up your PTR records, as each time you add an A record it will, by default, rewrite the PTR record to point to the new host name. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224680 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
Dave, CNAME records make it possible to introduce recursion errors. The extra lookup is definitely an issue for small data centers trying to maximize bandwidth and resources. And from a management standpoint it seems easier to work with 1 less kind of record. -Mark -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 1:46 PM To: CF-Talk Subject: RE: Multiple sites in IIS - Modifying DNS You CAN alias records within the same zone, but it's generally not a good idea because of the extra DNS lookups required to resolve them. Just because you can do a think, does not mean you should. Again, though, this is what CNAME records are for. The extra DNS lookups do not cause a significant amount of traffic, in my experience, even with DNS servers that support high-volume sites. I suspect this may have been more of an issue in the past than it is now, or maybe for DNS servers that support even higher numbers of queries it is still true. However, using multiple A records for a single IP address can introduce other problems, and I prefer the set of problems you may get by using CNAME records to the set of problems that you may get by using A records for aliasing. For example, if you're using the Microsoft DNS server - which, being integral to AD and Windows Networking, many people are - you can easily screw up your PTR records, as each time you add an A record it will, by default, rewrite the PTR record to point to the new host name. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224702 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS - Modifying DNS
CNAME records make it possible to introduce recursion errors. The extra lookup is definitely an issue for small data centers trying to maximize bandwidth and resources. And from a management standpoint it seems easier to work with 1 less kind of record. At this point, we're quibbling about something pretty small, but I can only say that none of these things have been problems for me or my clients, while I have seen problems using multiple A records pointing to the same IP address. I don't see how working with one less DNS record type makes any difference, since you still have to know SOA, MX, etc. My preference for using CNAME records for aliases is simply that this is what they're intended for, and as a result they provide (slightly) useful information that multiple A records don't provide. And as for the difference in traffic, I don't think there are more requests and responses when you get back a CNAME that's pointing to an A record - you simply get both answers in a single response. At least, that's what nslookup tells me. Here are some sample grabs from nslookup (I changed the names of the servers to protect the innocent - that's why the length of the first request is shorter, even though the server name is longer): test_cname.figleaf.com. Server: ns.figleaf.com Address: xxx.xxx.xxx.xxx SendRequest(), len 33 HEADER: opcode = QUERY, id = 4, rcode = NOERROR header flags: query, want recursion questions = 1, answers = 0, authority records = 0, additional = 0 QUESTIONS: test_cname.figleaf.com, type = A, class = IN Got answer (72 bytes): HEADER: opcode = QUERY, id = 4, rcode = NOERROR header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 2, authority records = 0, additional = 0 QUESTIONS: test_cname.figleaf.com, type = A, class = IN ANSWERS: - test_cname.figleaf.com type = CNAME, class = IN, dlen = 11 canonical name = test_a.figleaf.com ttl = 3600 (1 hour) - test_a.figleaf.com type = A, class = IN, dlen = 4 internet address = xxx.xxx.xxx.xxx ttl = 3600 (1 hour) Name:test_a.figleaf.com Address: xxx.xxx.xxx.xxx Aliases: test_cname.figleaf.com test_a.figleaf.com. Server: ns.figleaf.com Address: xxx.xxx.xxx.xxx SendRequest(), len 38 HEADER: opcode = QUERY, id = 5, rcode = NOERROR header flags: query, want recursion questions = 1, answers = 0, authority records = 0, additional = 0 QUESTIONS: test_a.figleaf.com, type = A, class = IN Got answer (54 bytes): HEADER: opcode = QUERY, id = 5, rcode = NOERROR header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 1, authority records = 0, additional = 0 QUESTIONS: test_a.figleaf.com, type = A, class = IN ANSWERS: - test_a.figleaf.com type = A, class = IN, dlen = 4 internet address = xxx.xxx.xxx.xxx ttl = 3600 (1 hour) Name:test_a.figleaf.com Address: xxx.xxx.xxx.xxx You notice the difference? Eighteen bytes. That's it. The answer in either case was small enough to fit within a UDP packet. That's hardly a big amount of traffic, and you'd be better served in most cases just increasing the TTL values so your DNS server is queried less frequently - the DNS server above is an internal server, so it's not a big deal. I'm not saying you're wrong to recommend using A records instead of CNAME records, just that we seem to value different results in this case. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224706 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS
-Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 10:29 AM To: CF-Talk Subject: OT: Multiple sites in IIS Hi, We have one development server, and multiple production servers. For each separate server in production, I'm just creating a New Site in IIS on the development server, each using a different port. Is there a better way/best practices approach to keeping these servers separate in the development environment? Thanks in advance. Personally I find that port number can be problematic. There used to be issues (might still be...) with CFCACHE and similar things and there are architectural concerns (firewalls for example). To make a site in IIS (or, really any HTTP server) you defined three things: IP Address, Hostname and Port. Each site on a sever has to have a unique signature of those three values. My order of preference: On an internal only network the most natural way to set things up is to assign a dedicated (internal) IP to each development server. Using local certs you can also install SSL on these sites (something hard, if not impossible with other options). Next is Hostname. This is what I use at home. For example I've got www.depressedpress.com defined at my production server but dev.depressedpress.com and test.depressedpress.com defined on my home server. These host names use the same IPs and Port but do not conflict as long as the names are used to access them. Finally is port, and you know about that. I don't like it. ;^) Jim Davis ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224190 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS
Host Headers setup through IIS So you could have beta.xyz.com, dev.xyz.com etc. ? -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 9:29 AM To: CF-Talk Subject: OT: Multiple sites in IIS Hi, We have one development server, and multiple production servers. For each separate server in production, I'm just creating a New Site in IIS on the development server, each using a different port. Is there a better way/best practices approach to keeping these servers separate in the development environment? Thanks in advance. Sincerely, Andrew ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224192 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS
We have one development server, and multiple production servers. For each separate server in production, I'm just creating a New Site in IIS on the development server, each using a different port. Is there a better way/best practices approach to keeping these servers separate in the development environment? Thanks in advance. Set your host headers in IIS and add the entries into your DNS servers or hosts files. But... if you need SSL on more than one site, you will need a different IP or different port for those particular sites as you can only have one SSL cert for each IP/port combination. Paul ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224204 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites in IIS
Yes, use different host headers instead of ports. Use a subdomain off your primary domain for your dev server, Russ -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: 15 November 2005 15:29 To: CF-Talk Subject: OT: Multiple sites in IIS Hi, We have one development server, and multiple production servers. For each separate server in production, I'm just creating a New Site in IIS on the development server, each using a different port. Is there a better way/best practices approach to keeping these servers separate in the development environment? Thanks in advance. Sincerely, Andrew ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224211 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple sites using one IP
Check out Host Headers in IIS. Mike -Original Message- From: Paul Campano [mailto:[EMAIL PROTECTED] Right now I have a number of CF sites on my WIN2K box that's running CFMX. Each site currently has it's own IP. I've heard that some people configure their servers to use one IP for many websites. How would I do this? When I try to assign an IP address I already have in use with one website to another website, it automatically stops that second website and won't let them both run at once. Thanks. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185474 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multiple Sites / 1 Hosting Account
I've run across a good way to do this if you happen to be using fusebox (or similar that runs all requests through a single file). In your index.cfm at root level, check the cgi.server_name using contains if cgi.server_name contains domain1.com cfinclude domain1/corefile.cfm else if cgi.server_name contains domain2.com cfinclude domain2/corefile.cfm You'll need to tweak all references to images, _javascript_ and css files to account for the extra directory level, but otherwise it works very well. each application can be self-contained and it's completely seemless to your users. Original Message: From: Jim Davis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: RE: Multiple Sites / 1 Hosting Account Date: Sun, 11 Apr 2004 23:58:14 -0400 Pretty much that's you're only option unless your host is willing to set up multiple virtual servers (most aren't). You probably don't need anything in the root application.cfm - you can do your redirect using nothing but the CGI variables.The only (minor) downside is that your URL's will be a little longer since every link will include the site/directory name. Jim Davis _ From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, April 11, 2004 11:28 PM To: CF-Talk Subject: Multiple Sites / 1 Hosting Account I have a shared hosting account and have two domains pointed at the account. I want to run both sites independantly... Is it best to use a quick cfif in the root level index.cfm to push the user to the right site? As long as the cfapplication tags have unique name attributes the applications should be kept independent, yes? It would look like this: ROOT -Application.cfm -index.cfm SITE1 -Application.cfm -index.cfm SITE2 -Application.cfm -index.cfm How do you handle this, if you are in a similar situation? These are just personal sites, nothing of importance really... Thanks! Mike _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple Sites / 1 Hosting Account
You don't even have to tweak your paths if you use only relative paths. I instantiate a paths.cfc in the application with an AppRootOffset property (if the site were at /mysite1/ then the AppRootOffset would be /MySite1) using that and the functions in the CFC you can calculate any paths you need.Move the site and all you have to do is update the AppRootOffset. (Actually I don't even do that - the AppRootOffset is calculated automatically using the location of the application.cfm which is assumed to be at the root of the application.) It works a treat. Jim Davis _ From: nando [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 3:52 AM To: CF-Talk Subject: RE: Multiple Sites / 1 Hosting Account I've run across a good way to do this if you happen to be using fusebox (or similar that runs all requests through a single file). In your index.cfm at root level, check the cgi.server_name using contains if cgi.server_name contains domain1.com cfinclude domain1/corefile.cfm else if cgi.server_name contains domain2.com cfinclude domain2/corefile.cfm You'll need to tweak all references to images, _javascript_ and css files to account for the extra directory level, but otherwise it works very well. each application can be self-contained and it's completely seemless to your users. Original Message: From: Jim Davis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: RE: Multiple Sites / 1 Hosting Account Date: Sun, 11 Apr 2004 23:58:14 -0400 Pretty much that's you're only option unless your host is willing to set up multiple virtual servers (most aren't). You probably don't need anything in the root application.cfm - you can do your redirect using nothing but the CGI variables.The only (minor) downside is that your URL's will be a little longer since every link will include the site/directory name. Jim Davis _ From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, April 11, 2004 11:28 PM To: CF-Talk Subject: Multiple Sites / 1 Hosting Account I have a shared hosting account and have two domains pointed at the account. I want to run both sites independantly... Is it best to use a quick cfif in the root level index.cfm to push the user to the right site? As long as the cfapplication tags have unique name attributes the applications should be kept independent, yes? It would look like this: ROOT -Application.cfm -index.cfm SITE1 -Application.cfm -index.cfm SITE2 -Application.cfm -index.cfm How do you handle this, if you are in a similar situation? These are just personal sites, nothing of importance really... Thanks! Mike _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple Sites / 1 Hosting Account
If your provider is willing, you can set the default page to be different for each domain. If not, then your default cfm page should read the http GET and route the request to the correct domain/page. == Stop spam on your domain, Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Michael T. Tangorre To: CF-Talk Sent: Sunday, April 11, 2004 10:27 PM Subject: Multiple Sites / 1 Hosting Account I have a shared hosting account and have two domains pointed at the account. I want to run both sites independantly... Is it best to use a quick cfif in the root level index.cfm to push the user to the right site? As long as the cfapplication tags have unique name attributes the applications should be kept independent, yes? It would look like this: ROOT -Application.cfm -index.cfm SITE1 -Application.cfm -index.cfm SITE2 -Application.cfm -index.cfm How do you handle this, if you are in a similar situation? These are just personal sites, nothing of importance really... Thanks! Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple Sites / 1 Hosting Account
Pretty much that's you're only option unless your host is willing to set up multiple virtual servers (most aren't). You probably don't need anything in the root application.cfm - you can do your redirect using nothing but the CGI variables.The only (minor) downside is that your URL's will be a little longer since every link will include the site/directory name. Jim Davis _ From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, April 11, 2004 11:28 PM To: CF-Talk Subject: Multiple Sites / 1 Hosting Account I have a shared hosting account and have two domains pointed at the account. I want to run both sites independantly... Is it best to use a quick cfif in the root level index.cfm to push the user to the right site? As long as the cfapplication tags have unique name attributes the applications should be kept independent, yes? It would look like this: ROOT -Application.cfm -index.cfm SITE1 -Application.cfm -index.cfm SITE2 -Application.cfm -index.cfm How do you handle this, if you are in a similar situation? These are just personal sites, nothing of importance really... Thanks! Mike _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple Sites / 1 Hosting Account
You probably don't need anything in the root application.cfm - you can do your redirect using nothing but the CGI variables.The only (minor) downside is that your URL's will be a little longer since every link will include the site/directory name. I'd need to hit one root level file to check the CGI var, no? For instance, I type in: www.site1.com and the root level application.cfm file checks the CGI var and includes the appropriate file from the sub dir.. Same for www.site2.com No? Forgive my ignorance if I am way off base. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
Yea, sorry about that. I replied to you before catching up and seeing that 800 other people had said the same. ;) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
There is an ISAPI filter that allows you to run multiple site sites in IIS on WinXP Pro.I have used it and it is alright, but its behavior is not quite like that of IIS on Win2000 Server.Any how, here is a link to the download site: http://www.hairy-spider.com/multisite.aspx Paul Kenney WebMaster, CorporateWarriors.com 916-663-1963 -Original Message- From: stas [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 8:12 AM To: CF-Talk Subject: Multiple sites on XP Pro workstation Is there a way to hack IIS that ships with XP Pro to allow it to serve mutliple sites? This is for development purposes. Alternatively, is there a way to set up a local site to serve different domains with host headers? If I run a local DNS server or someething like that? Thanks [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
can you run apache on a windows box? alongside everything else thats pretty standard? just wondering...thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Sunday, December 28, 2003 1:00 AM To: CF-Talk Subject: RE: Multiple sites on XP Pro workstation Is there a way to hack IIS that ships with XP Pro to allow it to serve mutliple sites? This is for development purposes. No, not to my knowledge. If there were, it would probably violate your software license in any case. Alternatively, is there a way to set up a local site to serve different domains with host headers? If I run a local DNS server or someething like that? You could just use Apache instead, or you could use the built-in JRun server assuming you're using CFMX. Or, you could have multiple names pointed to your one IIS server, using either a DNS server or your hosts file, and use CF to figure out how to redirect requests based on the host name requested. I'd generally recommend that you just use Apache, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
www.apache.org There is a version of Apache server that will run on windows, actually much more popular than IIS == Stop spam on your domain, use our gateway! http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP == Aspire to Inspire before you Expire! - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, December 28, 2003 9:04 AM Subject: RE: Multiple sites on XP Pro workstation | can you run apache on a windows box? alongside everything else thats | pretty standard? | | just wondering...thanks! | | tony | | tony weeg | [EMAIL PROTECTED] | www.revolutionwebdesign.com | rEvOlUtIoN wEb DeSiGn | 410.334.6331 | | -Original Message- | From: Dave Watts [mailto:[EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 1:00 AM | To: CF-Talk | Subject: RE: Multiple sites on XP Pro workstation | | | Is there a way to hack IIS that ships with XP Pro to allow it | to serve mutliple sites? This is for development purposes. | | No, not to my knowledge. If there were, it would probably violate your | software license in any case. | | Alternatively, is there a way to set up a local site to serve | different domains with host headers? If I run a local DNS server | or someething like that? | | You could just use Apache instead, or you could use the built-in JRun | server | assuming you're using CFMX. Or, you could have multiple names pointed to | your one IIS server, using either a DNS server or your hosts file, and | use | CF to figure out how to redirect requests based on the host name | requested. | | I'd generally recommend that you just use Apache, though. | | Dave Watts, CTO, Fig Leaf Software | http://www.figleaf.com/ | phone: 202-797-5496 | fax: 202-797-5444 | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
Tony Weeg wrote: can you run apache on a windows box? alongside everything else thats pretty standard? Sure, except that you can't run both Apache and another web server on the same port 80. You can of course change one server to run on an alternative port. The nice thing about Apache is the ability to use the virtualhost directive to run multiple sites on one machine. If you're interested I'd be happy to post snippets from my httpd.conf configuration file showing how. One bummer about DW MX I've found (unless I'm missing something) is that it still doesn't play well with virtual hosts -- it wants a testing server for a defined site to be defined as http://localhost/site1 as opposed to http://site1, notwithstanding that http://site1 works fine through my browser and CF Studio 5. - Regards, Bob Haroche O n P o i n tS o l u t i o n s www.OnPointSolutions.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
thanks doug. any caveats before i install? tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Sent: Sunday, December 28, 2003 10:26 AM To: CF-Talk Subject: Re: Multiple sites on XP Pro workstation www.apache.org There is a version of Apache server that will run on windows, actually much more popular than IIS == Stop spam on your domain, use our gateway! http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP == Aspire to Inspire before you Expire! - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, December 28, 2003 9:04 AM Subject: RE: Multiple sites on XP Pro workstation | can you run apache on a windows box? alongside everything else thats | pretty standard? | | just wondering...thanks! | | tony | | tony weeg | [EMAIL PROTECTED] | www.revolutionwebdesign.com | rEvOlUtIoN wEb DeSiGn | 410.334.6331 | | -Original Message- | From: Dave Watts [mailto:[EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 1:00 AM | To: CF-Talk | Subject: RE: Multiple sites on XP Pro workstation | | | Is there a way to hack IIS that ships with XP Pro to allow it | to serve mutliple sites? This is for development purposes. | | No, not to my knowledge. If there were, it would probably violate your | software license in any case. | | Alternatively, is there a way to set up a local site to serve | different domains with host headers? If I run a local DNS server | or someething like that? | | You could just use Apache instead, or you could use the built-in JRun | server | assuming you're using CFMX. Or, you could have multiple names pointed to | your one IIS server, using either a DNS server or your hosts file, and | use | CF to figure out how to redirect requests based on the host name | requested. | | I'd generally recommend that you just use Apache, though. | | Dave Watts, CTO, Fig Leaf Software | http://www.figleaf.com/ | phone: 202-797-5496 | fax: 202-797-5444 | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
yeah, that makes sense, ill just throw it up on port [something else] to try, and then give it a whirl... conf file...yeah, that would be cool. thanks. tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 -Original Message- From: Bob Haroche [mailto:[EMAIL PROTECTED] Sent: Sunday, December 28, 2003 10:29 AM To: CF-Talk Subject: Re: Multiple sites on XP Pro workstation Tony Weeg wrote: can you run apache on a windows box? alongside everything else thats pretty standard? Sure, except that you can't run both Apache and another web server on the same port 80. You can of course change one server to run on an alternative port. The nice thing about Apache is the ability to use the virtualhost directive to run multiple sites on one machine. If you're interested I'd be happy to post snippets from my httpd.conf configuration file showing how. One bummer about DW MX I've found (unless I'm missing something) is that it still doesn't play well with virtual hosts -- it wants a testing server for a defined site to be defined as http://localhost/site1 as opposed to http://site1, notwithstanding that http://site1 works fine through my browser and CF Studio 5. - Regards, Bob Haroche O n P o i n tS o l u t i o n s www.OnPointSolutions.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
Disable world Wide Publishing Service before installing Apache == Stop spam on your domain, use our gateway! http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP == Aspire to Inspire before you Expire! - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, December 28, 2003 9:28 AM Subject: RE: Multiple sites on XP Pro workstation | thanks doug. | | any caveats before i install? | | tony | | tony weeg | [EMAIL PROTECTED] | www.revolutionwebdesign.com | rEvOlUtIoN wEb DeSiGn | 410.334.6331 | | -Original Message- | From: Doug White [mailto:[EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 10:26 AM | To: CF-Talk | Subject: Re: Multiple sites on XP Pro workstation | | | www.apache.org | | There is a version of Apache server that will run on windows, actually | much more | popular than IIS | | == | Stop spam on your domain, use our gateway! | http://www.clickdoug.com/mailfilter.cfm | For hosting solutions http://www.clickdoug.com | Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP | == | Aspire to Inspire before you Expire! | | | - Original Message - | From: Tony Weeg [EMAIL PROTECTED] | To: CF-Talk [EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 9:04 AM | Subject: RE: Multiple sites on XP Pro workstation | | | | can you run apache on a windows box? alongside everything else thats | | pretty standard? | | | | just wondering...thanks! | | | | tony | | | | tony weeg | | [EMAIL PROTECTED] | | www.revolutionwebdesign.com | | rEvOlUtIoN wEb DeSiGn | | 410.334.6331 | | | | -Original Message- | | From: Dave Watts [mailto:[EMAIL PROTECTED] | | Sent: Sunday, December 28, 2003 1:00 AM | | To: CF-Talk | | Subject: RE: Multiple sites on XP Pro workstation | | | | | | Is there a way to hack IIS that ships with XP Pro to allow it | | to serve mutliple sites? This is for development purposes. | | | | No, not to my knowledge. If there were, it would probably violate your | | software license in any case. | | | | Alternatively, is there a way to set up a local site to serve | | different domains with host headers? If I run a local DNS server | | or someething like that? | | | | You could just use Apache instead, or you could use the built-in JRun | | server | | assuming you're using CFMX. Or, you could have multiple names pointed | to | | your one IIS server, using either a DNS server or your hosts file, and | | use | | CF to figure out how to redirect requests based on the host name | | requested. | | | | I'd generally recommend that you just use Apache, though. | | | | Dave Watts, CTO, Fig Leaf Software | | http://www.figleaf.com/ | | phone: 202-797-5496 | | fax: 202-797-5444 | | | | | | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
ok cool. htanks now, nexty dummy question...HTF do you install this thing?dont see setup.exe anywwhere :) i know, im overlooking something, i looked in the readme file...nothing i could see?i looked in readme.platforms file...nothing? help. tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Sent: Sunday, December 28, 2003 10:42 AM To: CF-Talk Subject: Re: Multiple sites on XP Pro workstation Disable world Wide Publishing Service before installing Apache == Stop spam on your domain, use our gateway! http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP == Aspire to Inspire before you Expire! - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, December 28, 2003 9:28 AM Subject: RE: Multiple sites on XP Pro workstation | thanks doug. | | any caveats before i install? | | tony | | tony weeg | [EMAIL PROTECTED] | www.revolutionwebdesign.com | rEvOlUtIoN wEb DeSiGn | 410.334.6331 | | -Original Message- | From: Doug White [mailto:[EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 10:26 AM | To: CF-Talk | Subject: Re: Multiple sites on XP Pro workstation | | | www.apache.org | | There is a version of Apache server that will run on windows, actually | much more | popular than IIS | | == | Stop spam on your domain, use our gateway! | http://www.clickdoug.com/mailfilter.cfm | For hosting solutions http://www.clickdoug.com | Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP | == | Aspire to Inspire before you Expire! | | | - Original Message - | From: Tony Weeg [EMAIL PROTECTED] | To: CF-Talk [EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 9:04 AM | Subject: RE: Multiple sites on XP Pro workstation | | | | can you run apache on a windows box? alongside everything else thats | | pretty standard? | | | | just wondering...thanks! | | | | tony | | | | tony weeg | | [EMAIL PROTECTED] | | www.revolutionwebdesign.com | | rEvOlUtIoN wEb DeSiGn | | 410.334.6331 | | | | -Original Message- | | From: Dave Watts [mailto:[EMAIL PROTECTED] | | Sent: Sunday, December 28, 2003 1:00 AM | | To: CF-Talk | | Subject: RE: Multiple sites on XP Pro workstation | | | | | | Is there a way to hack IIS that ships with XP Pro to allow it | | to serve mutliple sites? This is for development purposes. | | | | No, not to my knowledge. If there were, it would probably violate your | | software license in any case. | | | | Alternatively, is there a way to set up a local site to serve | | different domains with host headers? If I run a local DNS server | | or someething like that? | | | | You could just use Apache instead, or you could use the built-in JRun | | server | | assuming you're using CFMX. Or, you could have multiple names pointed | to | | your one IIS server, using either a DNS server or your hosts file, and | | use | | CF to figure out how to redirect requests based on the host name | | requested. | | | | I'd generally recommend that you just use Apache, though. | | | | Dave Watts, CTO, Fig Leaf Software | | http://www.figleaf.com/ | | phone: 202-797-5496 | | fax: 202-797-5444 | | | | | | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
Tony Weeg wrote: now, nexty dummy question...HTF do you install this thing?dont see setup.exe anywwhere :) Search for the .msi Jochem -- I don't get it immigrants don't work and steal our jobs - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
Did you d/l the right file? -- there should be a win32 binary on apache.org, as well as the uncompiled versions. - Regards, Bob Haroche O n P o i n tS o l u t i o n s www.OnPointSolutions.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
conf file...yeah, that would be cool. In additions to setting up virutal hosts, you'll want to enable apache to work with CF server, and to parse cgi and pl files correctly, etc. I can send the whole httpd.conf file offline if you like. For now, here's the snippets which let me have two local sites running with these URL's: http://alana and http://bcc. Note that in my OS hosts file I need to also add: 127.0.0.1 alana 127.0.0.1 bcc so the machine knows not to look for those local URL's over the Net. Remember to re-start Apache each time you change the httpd conf configurations. - DocumentRoot F:/wwwroot/ Virtualhost alana ServerAdmin [EMAIL PROTECTED] DocumentRoot F:/wwwroot/alana/ ServerName alana Ifmodule mod_alias.c ScriptAlias /cgi-bin F:/wwwroot/alana/cgi-bin /Ifmodule /Virtualhost Virtualhost bcc ServerAdmin [EMAIL PROTECTED] DocumentRoot F:/wwwroot/bcc/ ServerName bcc Ifmodule mod_alias.c ScriptAlias /cgi-bin F:/wwwroot/bcc/cgi-bin /Ifmodule /Virtualhost - Regards, Bob Haroche O n P o i n tS o l u t i o n s www.OnPointSolutions.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
Go to: http://httpd.apache.org/download.cgi and download the Windows 32 binary MSI version.Once downloaded, just right click on the file and select install, or double-click on it. == Stop spam on your domain, use our gateway! http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP == Aspire to Inspire before you Expire! - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, December 28, 2003 10:34 AM Subject: RE: Multiple sites on XP Pro workstation | ok cool. | htanks | | now, nexty dummy question...HTF do you install this thing?dont see | setup.exe anywwhere :) | | i know, im overlooking something, i looked in the readme file...nothing | i could see?i looked in readme.platforms file...nothing? | | help. | | tony | | tony weeg | [EMAIL PROTECTED] | www.revolutionwebdesign.com | rEvOlUtIoN wEb DeSiGn | 410.334.6331 | | -Original Message- | From: Doug White [mailto:[EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 10:42 AM | To: CF-Talk | Subject: Re: Multiple sites on XP Pro workstation | | | Disable world Wide Publishing Service before installing Apache | | == | Stop spam on your domain, use our gateway! | http://www.clickdoug.com/mailfilter.cfm | For hosting solutions http://www.clickdoug.com | Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP | == | Aspire to Inspire before you Expire! | | - Original Message - | From: Tony Weeg [EMAIL PROTECTED] | To: CF-Talk [EMAIL PROTECTED] | Sent: Sunday, December 28, 2003 9:28 AM | Subject: RE: Multiple sites on XP Pro workstation | | | | thanks doug. | | | | any caveats before i install? | | | | tony | | | | tony weeg | | [EMAIL PROTECTED] | | www.revolutionwebdesign.com | | rEvOlUtIoN wEb DeSiGn | | 410.334.6331 | | | | -Original Message- | | From: Doug White [mailto:[EMAIL PROTECTED] | | Sent: Sunday, December 28, 2003 10:26 AM | | To: CF-Talk | | Subject: Re: Multiple sites on XP Pro workstation | | | | | | www.apache.org | | | | There is a version of Apache server that will run on windows, actually | | much more | | popular than IIS | | | | == | | Stop spam on your domain, use our gateway! | | http://www.clickdoug.com/mailfilter.cfm | | For hosting solutions http://www.clickdoug.com | | Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP | | == | | Aspire to Inspire before you Expire! | | | | | | - Original Message - | | From: Tony Weeg [EMAIL PROTECTED] | | To: CF-Talk [EMAIL PROTECTED] | | Sent: Sunday, December 28, 2003 9:04 AM | | Subject: RE: Multiple sites on XP Pro workstation | | | | | | | can you run apache on a windows box? alongside everything else thats | | | pretty standard? | | | | | | just wondering...thanks! | | | | | | tony | | | | | | tony weeg | | | [EMAIL PROTECTED] | | | www.revolutionwebdesign.com | | | rEvOlUtIoN wEb DeSiGn | | | 410.334.6331 | | | | | | -Original Message- | | | From: Dave Watts [mailto:[EMAIL PROTECTED] | | | Sent: Sunday, December 28, 2003 1:00 AM | | | To: CF-Talk | | | Subject: RE: Multiple sites on XP Pro workstation | | | | | | | | | Is there a way to hack IIS that ships with XP Pro to allow it | | | to serve mutliple sites? This is for development purposes. | | | | | | No, not to my knowledge. If there were, it would probably violate | your | | | software license in any case. | | | | | | Alternatively, is there a way to set up a local site to serve | | | different domains with host headers? If I run a local DNS server | | | or someething like that? | | | | | | You could just use Apache instead, or you could use the built-in | JRun | | | server | | | assuming you're using CFMX. Or, you could have multiple names | pointed | | to | | | your one IIS server, using either a DNS server or your hosts file, | and | | | use | | | CF to figure out how to redirect requests based on the host name | | | requested. | | | | | | I'd generally recommend that you just use Apache, though. | | | | | | Dave Watts, CTO, Fig Leaf Software | | | http://www.figleaf.com/ | | | phone: 202-797-5496 | | | fax: 202-797-5444 | | | | | | | | | | | | | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
I know this isn't a real answer, but you could just switch to Apache. Thats what I did on my XP Pro system so I could support N web sites. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
thats a what im plannin' captain :) tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Sunday, December 28, 2003 2:32 PM To: CF-Talk Subject: RE: Multiple sites on XP Pro workstation I know this isn't a real answer, but you could just switch to Apache. Thats what I did on my XP Pro system so I could support N web sites. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
One bummer about DW MX I've found (unless I'm missing something) is that it still doesn't play well with virtual hosts -- it wants a testing server for a defined site to be defined as http://localhost/site1 as opposed to http://site1, notwithstanding that http://site1 works fine through my browser and CF Studio 5. I haven't run into this problem, and I've had dozens of separate virtual servers bound to my localhost IP address. Perhaps you don't have RDS configured properly on your server - to use RDS with a given virtual server, the URL /CFIDE/Main/ide.cfm needs to be either validly handled or ignored by your web server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
Dave Watts wrote: One bummer about DW MX I've found (unless I'm missing something) is that it still doesn't play well with virtual hosts -- it wants a testing server for a defined site to be defined as http://localhost/site1 as opposed to http://site1, notwithstanding that http://site1 works fine through my browser and CF Studio 5. Dave, can you elaborate on this? Googling around provided no answers directly on point. Last night I managed to get things working somewhat by telling DW to look at the RDS for localhost server as opposed to virtual host server client1, but I'm not sure I'm doing things correctly. A step by step explanation (for advanced dummies) would be great. TIA. - Regards, Bob Haroche O n P o i n tS o l u t i o n s www.OnPointSolutions.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites on XP Pro workstation
Doh, I meant to quote Dave's reply to my post, not my post itself. I'm off to get some coffee. - Regards, Bob Haroche O n P o i n tS o l u t i o n s www.OnPointSolutions.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Multiple sites on XP Pro workstation
Is there a way to hack IIS that ships with XP Pro to allow it to serve mutliple sites? This is for development purposes. No, not to my knowledge. If there were, it would probably violate your software license in any case. Alternatively, is there a way to set up a local site to serve different domains with host headers? If I run a local DNS server or someething like that? You could just use Apache instead, or you could use the built-in JRun server assuming you're using CFMX. Or, you could have multiple names pointed to your one IIS server, using either a DNS server or your hosts file, and use CF to figure out how to redirect requests based on the host name requested. I'd generally recommend that you just use Apache, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Multiple sites...
Yea, I realized after I sent the last message that my description of how to implement it was a little off -- really you should create a wrapper function for getRelative that returns the path argument relative to the absolute path containing your tags or cfc's or whatever... Incidentally I'm not the first to create a function to do this -- I think there's another one on cflib.org with slightly different syntax, and there's an even better version (than mine) in the onTap framework that includes some inherent caching of relative paths in the server scope (I think the cflib.org tag only caches in the request scope if at all) that will improve performance on MX. Also, if you download the onTap Framework core files, the cf_core/tag function will show you exactly how to create a wrapper for getRelative() to do what you want... Although I think it also uses getPath() which uses some of the native architecture of the framework that you probably won't need or want, but hopefully it'll be enough to get you going. I'm always available if you have any questions. :) http://www.turnkey.to/ontap download page is here: http://www.turnkey.to/ontap/docs/index.cfm?netaction=projects hth ike -- Original Message -- From: Mauricio Giraldo [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Aug 29, 2003 02:07 PM Subject: Re: Multiple sites... All you'd need to do is replace instances of template=#map#/blah.cfm with template=#getRelative('blah.cfm')# and I can help you write a multi-file regular expression to do that if you like. Let me know if you'd like to go that route and you want some help, I'd be glad to lend a hand. :) WOW! This is a really nice UDF. I wonder why MM didn't include on in MX in the first place (given that relative paths are so important for CFINCLUDES). I am going to give it a try. Regards - mga ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Multiple sites...
That's working almost properly... I don't know how versions of cf-unix work with regard to templates stored in different root directories, i.e. /home/blah/blah vs. /spaw-cf/blah/blah ... but what the tag does is attempt to get a relative path from the current template directory to the target template (or directory)... so... say for instance, I had these 2 templates: c:/inetpub/wwwroot/mysite/mytemplate.cfm c:/inetpub/wwwroot/temp.cfm If i put #getRelative('c:/inetpub/wwwroot/temp.cfm')# in mytemplate.cfm the resulting value would be ../temp.cfm. But if it's not on the same drive (or in the case of unix the same root directory) it's gonna try and go all the way back to the root, for instance, #getRelative('d:/temp.cfm')# is gonna return ../../../d:/temp.cfm ... on Windows this doesn't work -- there's no way to create and use a relative path to a file on another drive (that I know of) ... Not sure how Unix handles it. What I don't know off the top of my head is why it's creating 13 instances of ../ instead of 9 instances of ../ which is the number of directories in the getcurrenttemplatepath() string... Probably it's adding an extra array entry for the leading slash (if not the trailing slash), so if unix allows a relative path to a different root directory, then fixing that will make it work. Let me know if you're able to get it to work (and how) and I'll update the function for the bug fix. :) hth and thanks, Isaac -- Original Message -- From: Mauricio Giraldo [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Aug 29, 2003 02:38 PM Subject: Re: Multiple sites... I don't seem to understand the getRelative UDF: suppose the physical map path for my account is /home/virtual/sites/mysite/www/html/ the web root map path for my account is /www/html/ here's a sample: http://www.elefectoaxe.com.co/spaw/scripts/test3.cfm what am I doing wrong? ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
re: Multiple sites...
Date: Thu, 28 Aug 2003 10:33:20 -0400 From: Mauricio Giraldo [EMAIL PROTECTED] I was just googling around and found this post. I think I have a situation where relative paths will not solve the problem. I have an app that cannot use relative paths for cfincludes and cannot configure a mapping in cfadmin (shared hosting environment). Am I lost? Why can't I have relative paths? Because the cfinclude template attribute is dynamically generated. I have a variable set up in the Application.cfm called request.doc_root = /mysite/. CFM files in different subfolders cfinclude othe files in other subfolders based on the doc_root variable. Another issue is that in our shared hosting environment I cannot instantiate a CFC that is one level up from the file from where I am instantiating. Who's your host? Your host should be able to set up a mapping for you (which should help you with your CFC problem as well). With CrystalTech, you just have to ask them to set up a mapping and they'll do it. (For me, I just had them set up a mapping to my site's root -- that took care of my needs, because I could use relative paths based on that mapping) Scott --- Scott Brady http://www.scottbrady.net/ ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Multiple sites...
Yup, that's what we do too for people using CFCs. Very easy to setup and manage. Dan Phillips www.CFXHosting.com 1-866-239-4678 [EMAIL PROTECTED] Do you want complete ColdFusion Administrator access? RDS? Terminal Server?- CFX-Advanced VPS - http://www.cfxhosting.com/Plans/s_cfxadvancedVPS.cfm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 10:52 AM To: CF-Talk Subject: re: Multiple sites... Date: Thu, 28 Aug 2003 10:33:20 -0400 From: Mauricio Giraldo [EMAIL PROTECTED] I was just googling around and found this post. I think I have a situation where relative paths will not solve the problem. I have an app that cannot use relative paths for cfincludes and cannot configure a mapping in cfadmin (shared hosting environment). Am I lost? Why can't I have relative paths? Because the cfinclude template attribute is dynamically generated. I have a variable set up in the Application.cfm called request.doc_root = /mysite/. CFM files in different subfolders cfinclude othe files in other subfolders based on the doc_root variable. Another issue is that in our shared hosting environment I cannot instantiate a CFC that is one level up from the file from where I am instantiating. Who's your host? Your host should be able to set up a mapping for you (which should help you with your CFC problem as well). With CrystalTech, you just have to ask them to set up a mapping and they'll do it. (For me, I just had them set up a mapping to my site's root -- that took care of my needs, because I could use relative paths based on that mapping) Scott --- Scott Brady http://www.scottbrady.net/ ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
re: Multiple sites...
Another alternative to switching hosting providers: http://www.cflib.org/udf.cfm?ID=837 All you'd need to do is replace instances of template=#map#/blah.cfm with template=#getRelative('blah.cfm')# and I can help you write a multi-file regular expression to do that if you like. Let me know if you'd like to go that route and you want some help, I'd be glad to lend a hand. :) This UDF is also included in the onTap Framework http://www.turnkey.to/ontap hth Isaac -- Original Message -- From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Aug 28, 2003 07:52 AM Subject: re: Multiple sites... Date: Thu, 28 Aug 2003 10:33:20 -0400 From: Mauricio Giraldo [EMAIL PROTECTED] I was just googling around and found this post. I think I have a situation where relative paths will not solve the problem. I have an app that cannot use relative paths for cfincludes and cannot configure a mapping in cfadmin (shared hosting environment). Am I lost? Why can't I have relative paths? Because the cfinclude template attribute is dynamically generated. I have a variable set up in the Application.cfm called request.doc_root = /mysite/. CFM files in different subfolders cfinclude othe files in other subfolders based on the doc_root variable. Another issue is that in our shared hosting environment I cannot instantiate a CFC that is one level up from the file from where I am instantiating. Who's your host? Your host should be able to set up a mapping for you (which should help you with your CFC problem as well). With CrystalTech, you just have to ask them to set up a mapping and they'll do it. (For me, I just had them set up a mapping to my site's root -- that took care of my needs, because I could use relative paths based on that mapping) Scott --- Scott Brady http://www.scottbrady.net/ ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Multiple sites...
You can keep a cfroot variable similar to your docroot variable. It simply contains the path to your application from the / cf mapping. So, if your hosting provider had / mapped to c:/www but your site is c:/www/foldername/yoursite, you would keep request.cfmapping = /foldername. Then you would just do cfinclude template=#cfmpapping#/puu/somthing.cfm DRE -Original Message- From: Mauricio Giraldo [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 8:33 AM To: CF-Talk Subject: Multiple sites... Hello I was just googling around and found this post. I think I have a situation where relative paths will not solve the problem. I have an app that cannot use relative paths for cfincludes and cannot configure a mapping in cfadmin (shared hosting environment). Am I lost? Why can't I have relative paths? Because the cfinclude template attribute is dynamically generated. I have a variable set up in the Application.cfm called request.doc_root = /mysite/. CFM files in different subfolders cfinclude othe files in other subfolders based on the doc_root variable. Another issue is that in our shared hosting environment I cannot instantiate a CFC that is one level up from the file from where I am instantiating. Is there a workaround for these issues? Thanks - mga ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Multiple Sites in IIS and CFMX probelm
There is a performance difference associated with changing that setting, which is why it's set to the default value it is. At least with it set the way it is, it becomes obviously very quickly that something needs to be changed in order to work correctly. If it defaulted to the other, most people may never know that they're running slower than they need to (if they're not multihomed, that is). Just my opinion. There's an enhancement request open for the ability to specify whether you're multihomed or not during installation. It's #49199. I've added your vote to the request, Ben. And last but not least, as for the documentation for this issue, it's listed in the top 10 at http://www.macromedia.com/support/programs/self/coldfusion.html, it's in the list on the installation page at http://www.macromedia.com/support/coldfusion/installation.html and it's also in the list on the testing troubleshooting page at http://www.macromedia.com/support/coldfusion/troubleshoot.html. If you think it should be listed somewhere else within the ColdFusion Support Center, just let me know. Deb -Original Message- From: Ben Koshy [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 7:45 PM To: CF-Talk Subject: RE: Multiple Sites in IIS and CFMX probelm Not sure if Dave Watts beat me to this yet, but since he set me straight on this a few months back: http://www.macromedia.com/v1/Handlers/index.cfm?ID=23179Method=Full I'll return the favor. This has got to be the #1 asked question on this list. Macromedia should default the webserver for multihomed configuration (maybe there's a speed/performance issue) or at least modify their installation GUI to add an option for it. Or at least in the support centre a top ten installation questions area... (maybe there is...site is too big). Sincerely, Ben. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Multiple Sites in IIS and CFMX probelm
It sounds like maybe you're got trusted cache turned on. You need to manually turn this off if hosting multiple sites (multi-homed). Here's the info. There are a few other pitfalls re multi-homed servers, e.g. with flash remoting. When ColdFusion MX is installed on a multihomed server, edit the application server's jrun.xml file to disable the stand-alone web server and pathname caching. 1. Stop the ColdFusion MX Application Server service using the Services Control Panel. 2. Back up the existing cf_root\runtime\servers\default\SERVER-INF\jrun.xml. Where cf_root is your ColdFusion MX installation root. 3. Edit the WebService section of jrun.xml so that the deactivated attribute is True: attribute name=deactivatedtrue/attribute 4. Edit the ProxyService section of jrun.xml so that the cacheRealPath attribute is False: attribute name=cacheRealPathfalse/attribute 5. Save jrun.xml and restart the ColdFusion MX Application Server service. -Original Message- From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 February 2003 1:31 p.m. To: CF-Talk Subject: Multiple Sites in IIS and CFMX probelm Hello, I am having a strange problem with an IIS4.0 and cfmx configuration. We have about 7 different sites set up in IIS, for this example named (site1-site7). The problem is that it seems if you go to site1/index.cfm or site2/index.cfm or site3/index.cfm or ... site7/index.cfm the same index.cfm shows up across all sites. And the weird thing is that it isn't always the same index.cfm file, it changes every once in a while. Any ideas what is going, sounds like it is something simple, I just can't find it. Thanks. --- Kevin Kazmierczak, CCNA Application Developer Alfred University Alumni Hall 607-871-2334 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Multiple Sites in IIS and CFMX probelm
You have to change a setting in one of the CFMX config files. The setting is 'cacheRealPath', and found in /opt/coldfusionmx/runtime/servers/default/SERVER-INF (about line 375) on Linux, the windows path should be easy to deduce from that. Set it to 'false' and your problems will go away. barneyb -Original Message- From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:31 PM To: CF-Talk Subject: Multiple Sites in IIS and CFMX probelm Hello, I am having a strange problem with an IIS4.0 and cfmx configuration. We have about 7 different sites set up in IIS, for this example named (site1-site7). The problem is that it seems if you go to site1/index.cfm or site2/index.cfm or site3/index.cfm or ... site7/index.cfm the same index.cfm shows up across all sites. And the weird thing is that it isn't always the same index.cfm file, it changes every once in a while. Any ideas what is going, sounds like it is something simple, I just can't find it. Thanks. --- Kevin Kazmierczak, CCNA Application Developer Alfred University Alumni Hall 607-871-2334 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Multiple Sites in IIS and CFMX probelm
Not sure if Dave Watts beat me to this yet, but since he set me straight on this a few months back: http://www.macromedia.com/v1/Handlers/index.cfm?ID=23179Method=Full I'll return the favor. This has got to be the #1 asked question on this list. Macromedia should default the webserver for multihomed configuration (maybe there's a speed/performance issue) or at least modify their installation GUI to add an option for it. Or at least in the support centre a top ten installation questions area... (maybe there is...site is too big). Sincerely, Ben. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Multiple Sites in IIS and CFMX probelm
Boy did I botch that. The file is 'jrun.xml', but Matthew provided even better instructions, so I'm just going to shut up. -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:40 PM To: CF-Talk Subject: RE: Multiple Sites in IIS and CFMX probelm You have to change a setting in one of the CFMX config files. The setting is 'cacheRealPath', and found in /opt/coldfusionmx/runtime/servers/default/SERVER-INF (about line 375) on Linux, the windows path should be easy to deduce from that. Set it to 'false' and your problems will go away. barneyb -Original Message- From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:31 PM To: CF-Talk Subject: Multiple Sites in IIS and CFMX probelm Hello, I am having a strange problem with an IIS4.0 and cfmx configuration. We have about 7 different sites set up in IIS, for this example named (site1-site7). The problem is that it seems if you go to site1/index.cfm or site2/index.cfm or site3/index.cfm or ... site7/index.cfm the same index.cfm shows up across all sites. And the weird thing is that it isn't always the same index.cfm file, it changes every once in a while. Any ideas what is going, sounds like it is something simple, I just can't find it. Thanks. --- Kevin Kazmierczak, CCNA Application Developer Alfred University Alumni Hall 607-871-2334 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Multiple Sites in IIS and CFMX probelm
I got it, thank you so much for the help. --- Kevin Kazmierczak, CCNA Application Developer Alfred University Alumni Hall 607-871-2334 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 7:45 PM To: CF-Talk Subject: RE: Multiple Sites in IIS and CFMX probelm Boy did I botch that. The file is 'jrun.xml', but Matthew provided even better instructions, so I'm just going to shut up. -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:40 PM To: CF-Talk Subject: RE: Multiple Sites in IIS and CFMX probelm You have to change a setting in one of the CFMX config files. The setting is 'cacheRealPath', and found in /opt/coldfusionmx/runtime/servers/default/SERVER-INF (about line 375) on Linux, the windows path should be easy to deduce from that. Set it to 'false' and your problems will go away. barneyb -Original Message- From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:31 PM To: CF-Talk Subject: Multiple Sites in IIS and CFMX probelm Hello, I am having a strange problem with an IIS4.0 and cfmx configuration. We have about 7 different sites set up in IIS, for this example named (site1-site7). The problem is that it seems if you go to site1/index.cfm or site2/index.cfm or site3/index.cfm or ... site7/index.cfm the same index.cfm shows up across all sites. And the weird thing is that it isn't always the same index.cfm file, it changes every once in a while. Any ideas what is going, sounds like it is something simple, I just can't find it. Thanks. --- Kevin Kazmierczak, CCNA Application Developer Alfred University Alumni Hall 607-871-2334 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Multiple Sites
Thread: http://www.houseoffusion.com/lists.cfm?link=m:4:15072:78115 KB article: http://www.macromedia.com/v1/Handlers/index.cfm?ID=23179Method=Full Ok, I know I asked this once (and fixed it once on one server) but now I can't find it in the archives. What's the link to the MM KB about configuring MX for multiple site hosting? Have one Linux box (it was MS last time) that everytime we refresh the page it shows a file of the same name from one of the other sites hosted on the machine... Cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Multiple Sites in IIS
Not really sure what you mean? When you say a page is not being refreshed, do you mean it's caching it? -Original Message- From: Shahzad.Butt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 3:15 PM To: CF-Talk Subject: Multiple Sites in IIS Does anyone has faced the problem of having multiple websites in IIS (using CFMX). Whats happening with us is that Page is not being refreshed neither is it looking for new files if we add new file in website. Pls reply with any issues or problems using multiple sites. Shahzad ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Multiple Sites in IIS
On Wednesday, September 25, 2002, at 03:14 PM, Shahzad.Butt wrote: Does anyone has faced the problem of having multiple websites in IIS (using CFMX). Whats happening with us is that Page is not being refreshed neither is it looking for new files if we add new file in website. Pls reply with any issues or problems using multiple sites. See this knowledgebase article for info on configuring CFMX on Multi-homed IIS machines: http://www.macromedia.com/v1/Handlers/index.cfm?ID=23390Method=Full __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Multiple sites...
When you're trying to cfinclude templates, it won't include from the proper directory, without creating mappings in the ColdFusion administrator, and then using a variable to store that mapping. Never had this problem, I always use relative paths, e.g. cfinclude template=../../myFile.cfm - would this work for you? - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
Best thing to do in that situation is use relative urls (../includes/blah.cfm) in your CFINCLUDEs. That way, as long as your directory structure stays the same, your site should work perfectly when you just copy it over. Another thing you can do is set a variable in your application.cfm, like: CFSET imageDir = D:\wwwroot\mysite\images\ Then, in the pages where you access this directory, do it using #imageDir#. When you move the site, just change the once instance of each path defined like this, and voila. This method has problems, though, because if you're on a shared server, you have to figure out what those absolute paths are, by using some getBaseTemplatePath() functions. Kevin Langevin Web Guy In Charge UsWebGuys 954-327-5780 [EMAIL PROTECTED] -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 1:17 PM To: CF-Talk Subject: Multiple sites... Hi, I'm new on the list and to ColdFusion in general, so take it easy on me. I would like to have two (or more) sites on my NT box, one for staging, and one for production. For example, I'd like to have a website (stage.livingscriptures.com) that I do all my pre-production work in, and then when I'm finished, simply copy everything over to a different directory, that would be my production site (www.livingscriptures.com). This is very simple to do with say, ASP, but I have found difficulty in getting this to work with ColdFusion. When you're trying to cfinclude templates, it won't include from the proper directory, without creating mappings in the ColdFusion administrator, and then using a variable to store that mapping. My co-worker introduced my to ColdFusion, and I think it's a GREAT product, but the inability to do this has frustrated me. Maybe I'm approaching this the wrong way. I'd really appreciate it if someone could help me with this. Thanks! ---Les Buchanan Newbie ColdFusion Developer __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
Hi Les, I do all my mapping stuff in the application.cfm file. That way, when you move things over, you just change a few lines in the application.cfm file. I set imagepath, DSN, homepath, and a few others... Makes things go real smnooth when moving over. Mike -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 1:17 PM To: CF-Talk Subject: Multiple sites... Hi, I'm new on the list and to ColdFusion in general, so take it easy on me. I would like to have two (or more) sites on my NT box, one for staging, and one for production. For example, I'd like to have a website (stage.livingscriptures.com) that I do all my pre-production work in, and then when I'm finished, simply copy everything over to a different directory, that would be my production site (www.livingscriptures.com). This is very simple to do with say, ASP, but I have found difficulty in getting this to work with ColdFusion. When you're trying to cfinclude templates, it won't include from the proper directory, without creating mappings in the ColdFusion administrator, and then using a variable to store that mapping. My co-worker introduced my to ColdFusion, and I think it's a GREAT product, but the inability to do this has frustrated me. Maybe I'm approaching this the wrong way. I'd really appreciate it if someone could help me with this. Thanks! ---Les Buchanan Newbie ColdFusion Developer __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
Hmmm... Thanks for all the help everyone... I guess I'll just have to decide the lesser of the two evils. =) I'm surprised that ColdFusion server doesn't have a way to handle multiple sites. Does anyone know if there is going to be any support for this in future editions? Thanks again everyone! ---Les Buchanan -Original Message- From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:32 AM To: CF-Talk Subject: RE: Multiple sites... Hi Les, I do all my mapping stuff in the application.cfm file. That way, when you move things over, you just change a few lines in the application.cfm file. I set imagepath, DSN, homepath, and a few others... Makes things go real smnooth when moving over. Mike -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 1:17 PM To: CF-Talk Subject: Multiple sites... Hi, I'm new on the list and to ColdFusion in general, so take it easy on me. I would like to have two (or more) sites on my NT box, one for staging, and one for production. For example, I'd like to have a website (stage.livingscriptures.com) that I do all my pre-production work in, and then when I'm finished, simply copy everything over to a different directory, that would be my production site (www.livingscriptures.com). This is very simple to do with say, ASP, but I have found difficulty in getting this to work with ColdFusion. When you're trying to cfinclude templates, it won't include from the proper directory, without creating mappings in the ColdFusion administrator, and then using a variable to store that mapping. My co-worker introduced my to ColdFusion, and I think it's a GREAT product, but the inability to do this has frustrated me. Maybe I'm approaching this the wrong way. I'd really appreciate it if someone could help me with this. Thanks! ---Les Buchanan Newbie ColdFusion Developer __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
Les, I can say that CF does a great job of running multiple sites. The key, that has already been mentioned is to use relative paths for your CFINCLUDEs. We have a dozen IIS sites and essentially 50 others sites in subdirectories under one of those and they all work absolutely fine without using CF mappings, though it is there if you wanted it. I don't think using relative paths is the lesser of an evil. It's simply how CF does it's thing when you need to run more than one site. As far as future support, I haven't seen anything added or planned for adding in future releases, I guess because most people seem to get it working with the methods already available. Just my $0.02 t Tyler M. Fitch Certified Advanced ColdFusion 5 Developer http://isitedesign.com -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 10:52 AM To: CF-Talk Subject: RE: Multiple sites... Hmmm... Thanks for all the help everyone... I guess I'll just have to decide the lesser of the two evils. =) I'm surprised that ColdFusion server doesn't have a way to handle multiple sites. Does anyone know if there is going to be any support for this in future editions? Thanks again everyone! ---Les Buchanan __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
I can't agree that it does a great job. It's adequate, but it would it would be better if there could be multiple instances of the CF engine so, for instance, one application's badly-locked code didn't hurt another application. It would also permit tuning the server settings for the needs of each application. For instance, Les might like his development site to do full checking for shared-scope locks while his production site does none. -Original Message- From: Tyler M. Fitch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 2:11 PM To: CF-Talk Subject: RE: Multiple sites... Les, I can say that CF does a great job of running multiple sites. The key, that has already been mentioned is to use relative paths for your CFINCLUDEs. We have a dozen IIS sites and essentially 50 others sites in subdirectories under one of those and they all work absolutely fine without using CF mappings, though it is there if you wanted it. I don't think using relative paths is the lesser of an evil. It's simply how CF does it's thing when you need to run more than one site. As far as future support, I haven't seen anything added or planned for adding in future releases, I guess because most people seem to get it working with the methods already available. Just my $0.02 t Tyler M. Fitch Certified Advanced ColdFusion 5 Developer http://isitedesign.com -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 10:52 AM To: CF-Talk Subject: RE: Multiple sites... Hmmm... Thanks for all the help everyone... I guess I'll just have to decide the lesser of the two evils. =) I'm surprised that ColdFusion server doesn't have a way to handle multiple sites. Does anyone know if there is going to be any support for this in future editions? Thanks again everyone! ---Les Buchanan __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
Coming in neo -Original Message- From: Herbener, Martin - School Information Technology [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:24 AM To: CF-Talk Subject: RE: Multiple sites... I can't agree that it does a great job. It's adequate, but it would it would be better if there could be multiple instances of the CF engine so, for instance, one application's badly-locked code didn't hurt another application. It would also permit tuning the server settings for the needs of each application. For instance, Les might like his development site to do full checking for shared-scope locks while his production site does none. -Original Message- From: Tyler M. Fitch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 2:11 PM To: CF-Talk Subject: RE: Multiple sites... Les, I can say that CF does a great job of running multiple sites. The key, that has already been mentioned is to use relative paths for your CFINCLUDEs. We have a dozen IIS sites and essentially 50 others sites in subdirectories under one of those and they all work absolutely fine without using CF mappings, though it is there if you wanted it. I don't think using relative paths is the lesser of an evil. It's simply how CF does it's thing when you need to run more than one site. As far as future support, I haven't seen anything added or planned for adding in future releases, I guess because most people seem to get it working with the methods already available. Just my $0.02 t Tyler M. Fitch Certified Advanced ColdFusion 5 Developer http://isitedesign.com -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 10:52 AM To: CF-Talk Subject: RE: Multiple sites... Hmmm... Thanks for all the help everyone... I guess I'll just have to decide the lesser of the two evils. =) I'm surprised that ColdFusion server doesn't have a way to handle multiple sites. Does anyone know if there is going to be any support for this in future editions? Thanks again everyone! ---Les Buchanan _ _ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Multiple sites...
Ditto...I use relative paths always. I've built a handy tag to build the relative path back to the root of the site from anby directory. I just call the tag in the application.cfm file in whatever directory I'm working in. That gives me a RelativePath var to use in my includes...works like a charm. Bryan Stevenson VP Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Original Message - From: Gyrus [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 10:21 AM Subject: Re: Multiple sites... When you're trying to cfinclude templates, it won't include from the proper directory, without creating mappings in the ColdFusion administrator, and then using a variable to store that mapping. Never had this problem, I always use relative paths, e.g. cfinclude template=../../myFile.cfm - would this work for you? - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
It just seems odd to me that I'd have to do it that way... I guess relative paths isn't going to be a problem, thinking about it now... that's the method I'll use. Thanks guys! ---Les -Original Message- From: Tyler M. Fitch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 12:11 PM To: CF-Talk Subject: RE: Multiple sites... Les, I can say that CF does a great job of running multiple sites. The key, that has already been mentioned is to use relative paths for your CFINCLUDEs. We have a dozen IIS sites and essentially 50 others sites in subdirectories under one of those and they all work absolutely fine without using CF mappings, though it is there if you wanted it. I don't think using relative paths is the lesser of an evil. It's simply how CF does it's thing when you need to run more than one site. As far as future support, I haven't seen anything added or planned for adding in future releases, I guess because most people seem to get it working with the methods already available. Just my $0.02 t Tyler M. Fitch Certified Advanced ColdFusion 5 Developer http://isitedesign.com -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 10:52 AM To: CF-Talk Subject: RE: Multiple sites... Hmmm... Thanks for all the help everyone... I guess I'll just have to decide the lesser of the two evils. =) I'm surprised that ColdFusion server doesn't have a way to handle multiple sites. Does anyone know if there is going to be any support for this in future editions? Thanks again everyone! ---Les Buchanan __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Multiple sites...
Sweet... thanks for the info Mark! ---Les -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 2:29 PM To: CF-Talk Subject: RE: Multiple sites... Coming in neo -Original Message- From: Herbener, Martin - School Information Technology [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:24 AM To: CF-Talk Subject: RE: Multiple sites... I can't agree that it does a great job. It's adequate, but it would it would be better if there could be multiple instances of the CF engine so, for instance, one application's badly-locked code didn't hurt another application. It would also permit tuning the server settings for the needs of each application. For instance, Les might like his development site to do full checking for shared-scope locks while his production site does none. -Original Message- From: Tyler M. Fitch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 2:11 PM To: CF-Talk Subject: RE: Multiple sites... Les, I can say that CF does a great job of running multiple sites. The key, that has already been mentioned is to use relative paths for your CFINCLUDEs. We have a dozen IIS sites and essentially 50 others sites in subdirectories under one of those and they all work absolutely fine without using CF mappings, though it is there if you wanted it. I don't think using relative paths is the lesser of an evil. It's simply how CF does it's thing when you need to run more than one site. As far as future support, I haven't seen anything added or planned for adding in future releases, I guess because most people seem to get it working with the methods already available. Just my $0.02 t Tyler M. Fitch Certified Advanced ColdFusion 5 Developer http://isitedesign.com -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 10:52 AM To: CF-Talk Subject: RE: Multiple sites... Hmmm... Thanks for all the help everyone... I guess I'll just have to decide the lesser of the two evils. =) I'm surprised that ColdFusion server doesn't have a way to handle multiple sites. Does anyone know if there is going to be any support for this in future editions? Thanks again everyone! ---Les Buchanan _ _ Why Share? Dedicated Win 2000 Server 7 PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation 7 $99/Month 7 Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists