RE: How to set virtual sites for localhost viewing?
I get a Coldwell Banker Realtor site for Fort Stewart, looks like it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 6:57 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Need a site check... Would someone check and see if they can get this site? www.FortStewart.com Thanks, Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:04 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? It'll take a few for the DNS to propogate, or you can try ipconfig /flushdns on your local machine to clear your DNS and hopefully to force your machine to re ask the DNS server for the information to see if your changes are causing the expected behavior. After removing the entries you should be good. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:55 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. Have I taken the appropriate DNS steps and just need to wait or is there something else I need to do? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:18 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25
RE: How to set virtual sites for localhost viewing?
Thanks, Calvin...yes, the Coldwell Banker site is the right one... they snapped up that domain early. We're located right beside Fort Stewart, so they get a lot of traffic with that name. Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 6:41 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I get a Coldwell Banker Realtor site for Fort Stewart, looks like it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 6:57 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Need a site check... Would someone check and see if they can get this site? www.FortStewart.com Thanks, Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:04 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? It'll take a few for the DNS to propogate, or you can try ipconfig /flushdns on your local machine to clear your DNS and hopefully to force your machine to re ask the DNS server for the information to see if your changes are causing the expected behavior. After removing the entries you should be good. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:55 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. Have I taken the appropriate DNS steps and just need to wait or is there something else I need to do? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:18 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful
RE: How to set virtual sites for localhost viewing?
Hi Rick, Basically, you'll need to point the DNS entry for each development site to your development server. Let's say that your server IP is 332.278.984.870 (which is impossible), then you would want to point dev.clientsite.com to that IP. (alternatively you can use an alias to whatever site is on that server now that belongs to you, then you only have to use the IP once). On your dev server, you will want to then create a new web site for ClientSite, and in the host header for that site, put dev.clientsite.com. Aside from initial setup for each individual site, you shouldn't have to mess with the DNS except for removing it when the need is no longer there. Consider it part of the process of setting up, unsetting up clients. Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 3:32 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? For instance, you can't easily use references like img src=/images/abc.gif. That's true...my workaround has been to create variables for paths in my Application.cfm depending on what the CGI.Server_Name is. If your approach would allow me to avoid that chore for every new site, then it would be easier to manage the DNS (once I figured it out) than change the Application.cfm each time. Now, I've just figured out how to manage my DNS records with DNS server with GoDaddy.com within the last year...with what we're talking about here, is this just manipulation of the DNS records on my server only? (Showing my lack of understanding about DNS now...) Thanks for the tip... Rick -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 3:00 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? There can be a big difference between using a dedicated site and trying to accomplish the same thing by simulating a site within a subdirectory. For instance, you can't easily use references like img src=/images/abc.gif. I doubt you'll be managing DNS constantly, but it depends on how often you accept new client projects. If you have a client for whom you regularly work on their web site then you could always leave the virtual site client.ourdomain.com configured in DNS. The other thing you might do is create a fixed number of 'generic' development virtual web sites. test01.ourdomain.com test02.ourdomain.com .. test20.ourdomain.com Create and leave the host names in DNS. One time and then forget about it. Set up the virtual sites within IIS and then stop/start them as needed. You'll probably want to implement a login system to view these sites while under development, even if they're intended to be publicly available sites. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, February 23, 2005 12:03 PM Subject: RE: How to set virtual sites for localhost viewing? I manage my DNS through GoDaddy.com, where I register my sites. Haven't ventured into the land of managing my own DNS. After looking into this at GoDaddy, it seems simpler, just to use a virtual directory under my DefaultWebsite for online development viewing, sending my client to http://www.DefaultWebsite.com/ClientSite, then, once the site is ready to go live, make a virtual site for it... http://www.ClientSite.com Is that not easier than manipulating DNS constantly? (It probably seems easier because I understand it! ;o) ~| 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:196756 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: How to set virtual sites for localhost viewing?
Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I understanding the process? This is the process I have been using: On my development PC, everything is viewed through http://localhost/ClientSite1/index.cfm; (ClientSite1 being a virtual directory under the default website) On my server, I would set up a virtual directory for the site under the default web site, and tell the client to go to www.MyDefaultWebsite.com/ClientSite1/index.cfm... Then when the site was ready to go live, I would create a new website with host headers of www.ClientSite1.com and ClientSite1.com. I would setup paths in the Application.cfm for assets, etc., based on the CGI.Server_Name. Would the advantage of using the DNS method of managing site development be that I would be able to avoid having CF parse through the Application.cfm each time to determine what paths it should use, therefore saving time and resources in processing? (Not to mention having to figure out all the paths and their variations...) I guess I would still have to setup the Application.cfm to differentiate between localhost (for development) and server setup. I do a lot of development on a laptop and am not always plugged in to the network, so I put MySQL and CF on my laptop for development, too... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:48 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi Rick, Basically, you'll need to point the DNS entry for each development site to your development server. Let's say that your server IP is 332.278.984.870 (which is impossible), then you would want to point dev.clientsite.com to that IP. (alternatively you can use an alias to whatever site is on that server now that belongs to you, then you only have to use the IP once). On your dev server, you will want to then create a new web site for ClientSite, and in the host header for that site, put dev.clientsite.com. Aside from initial setup for each individual site, you shouldn't have to mess with the DNS except for removing it when the need is no longer there. Consider it part of the process of setting up, unsetting up clients. Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 3:32 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? For instance, you can't easily use references like img src=/images/abc.gif. That's true...my workaround has been to create variables for paths in my Application.cfm depending on what the CGI.Server_Name is. If your approach would allow me to avoid that chore for every new site, then it would be easier to manage the DNS (once I figured it out) than change the Application.cfm each time. Now, I've just figured out how to manage my DNS records with DNS server with GoDaddy.com within the last year...with what we're talking about here, is this just manipulation of the DNS records on my server only? (Showing my lack of understanding about DNS now...) Thanks for the tip... Rick -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 3:00 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? There can be a big difference between using a dedicated site and trying to accomplish the same thing by simulating a site within a subdirectory. For instance, you can't easily use references like img src=/images/abc.gif. I doubt you'll be managing DNS constantly, but it depends on how often you accept new client projects. If you have a client for whom you regularly work on their web site then you could always leave the virtual site client.ourdomain.com configured in DNS. The other thing you might do is create a fixed number of 'generic' development virtual web sites. test01.ourdomain.com test02.ourdomain.com ... test20.ourdomain.com Create and leave the host names in DNS. One time and then forget about it. Set up the virtual sites within IIS and then stop/start them as needed. You'll probably want to implement a login system to view these sites while under development, even if they're intended to be publicly available sites. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf
RE: How to set virtual sites for localhost viewing?
You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate your other environments while disconnected! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:25 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I understanding the process? This is the process I have been using: On my development PC, everything is viewed through http://localhost/ClientSite1/index.cfm; (ClientSite1 being a virtual directory under the default website) On my server, I would set up a virtual directory for the site under the default web site, and tell the client to go to www.MyDefaultWebsite.com/ClientSite1/index.cfm... Then when the site was ready to go live, I would create a new website with host headers of www.ClientSite1.com and ClientSite1.com. I would setup paths in the Application.cfm for assets, etc., based on the CGI.Server_Name. Would the advantage of using the DNS method of managing site development be that I would be able to avoid having CF parse through the Application.cfm each time to determine what paths it should use, therefore saving time and resources in processing? (Not to mention having to figure out all the paths and their variations...) I guess I would still have to setup the Application.cfm to differentiate between localhost (for development) and server setup. I do a lot of development on a laptop and am not always plugged in to the network, so I put MySQL and CF on my laptop for development, too... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:48 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi Rick, Basically, you'll need to point the DNS entry for each development site to your development server. Let's say that your server IP is 332.278.984.870 (which is impossible), then you would want to point dev.clientsite.com to that IP. (alternatively you can use an alias to whatever site is on that server now that belongs to you, then you only have to use the IP once). On your dev server, you will want to then create a new web site for ClientSite, and in the host header for that site, put dev.clientsite.com. Aside from initial setup for each individual site, you shouldn't have to mess with the DNS except for removing it when the need is no longer there. Consider it part of the process of setting up, unsetting up clients. Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 3:32 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? For instance, you can't easily use references like img src=/images/abc.gif. That's true...my workaround has been to create variables for paths in my Application.cfm depending on what the CGI.Server_Name is. If your approach would allow me to avoid that chore for every new site, then it would be easier to manage the DNS
RE: How to set virtual sites for localhost viewing?
I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate your other environments while disconnected! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:25 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I understanding the process? This is the process I have been using: On my development PC, everything is viewed through http://localhost/ClientSite1/index.cfm; (ClientSite1 being a virtual directory under the default website) On my server, I would set up a virtual directory for the site under the default web site, and tell the client to go to www.MyDefaultWebsite.com/ClientSite1/index.cfm... Then when the site was ready to go live, I would create a new website with host headers of www.ClientSite1.com and ClientSite1.com. I would setup paths in the Application.cfm for assets, etc., based on the CGI.Server_Name. Would the advantage of using the DNS method of managing site development be that I would be able to avoid having CF parse through the Application.cfm each time to determine what paths it should use, therefore saving time and resources in processing? (Not to mention having to figure out all the paths and their variations...) I guess I would still have to setup the Application.cfm to differentiate between localhost (for development) and server setup. I do a lot of development on a laptop and am not always plugged in to the network, so I put MySQL and CF on my laptop for development, too... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:48 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi Rick, Basically, you'll need to point the DNS entry for each development site to your development server. Let's say that your server IP is 332.278.984.870 (which is impossible), then you would want to point dev.clientsite.com to that IP. (alternatively you can use an alias to whatever site is on that server now that belongs to you, then you only have to use the IP once). On your dev server, you
RE: How to set virtual sites for localhost viewing?
If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate your other environments while disconnected! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:25 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I understanding the process? This is the process I have been using: On my development PC, everything is viewed through http://localhost/ClientSite1/index.cfm; (ClientSite1 being a virtual directory under the default website) On my server, I would set up a virtual directory for the site under the default web site, and tell the client to go to www.MyDefaultWebsite.com/ClientSite1/index.cfm... Then when the site was ready to go live, I would create a new website with host headers of www.ClientSite1.com and ClientSite1.com. I would setup paths in the Application.cfm for assets, etc., based on the CGI.Server_Name. Would the advantage of using the DNS method of managing site development be that I would be able to avoid having CF parse through the Application.cfm each time to determine what paths it should use, therefore saving time and resources in processing? (Not to mention having to figure out all the paths and their variations...) I guess I would still have to setup the Application.cfm to differentiate between localhost (for development) and server setup. I do a lot of development on a laptop and am not always plugged in to the network, so I put MySQL and CF on my laptop for development, too... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:48 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi Rick
RE: How to set virtual sites for localhost viewing?
Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate your other environments while disconnected! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:25 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I understanding the process? This is the process I have been using: On my development PC, everything is viewed through http://localhost/ClientSite1/index.cfm; (ClientSite1 being a virtual directory under the default website) On my server, I would set up a virtual directory for the site under the default web site, and tell the client to go to www.MyDefaultWebsite.com/ClientSite1/index.cfm... Then when the site was ready to go live, I would create a new website with host headers of www.ClientSite1.com and ClientSite1.com. I would setup paths in the Application.cfm for assets, etc., based on the CGI.Server_Name. Would the advantage of using the DNS method of managing site development be that I would be able to avoid having CF parse through the Application.cfm each time to determine what paths it should use, therefore saving time and resources in processing? (Not to mention having to figure out all the paths and their variations...) I guess I would still have to setup the Application.cfm
RE: How to set virtual sites for localhost viewing?
The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate your other environments while disconnected! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:25 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I understanding the process? This is the process I have been using: On my development PC, everything is viewed through http://localhost/ClientSite1/index.cfm; (ClientSite1 being a virtual directory under the default website) On my server, I would set up a virtual directory for the site under the default web site, and tell the client to go to www.MyDefaultWebsite.com/ClientSite1/index.cfm... Then when the site was ready to go live, I would create a new website with host headers of www.ClientSite1.com and ClientSite1.com. I would setup paths in the Application.cfm for assets, etc., based on the CGI.Server_Name. Would the advantage of using the DNS method of managing site development be that I would be able to avoid having CF parse through the Application.cfm
RE: How to set virtual sites for localhost viewing?
It works! Well what do you know...learn something (or 20 somethings) new every day...I didn't know you could make up your own prefix like that...never have understood DNS very well... But that's great! Now I'll figure out how to employ this new approach into my workflow. Thanks, Calvin! -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate your other environments while disconnected! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:25 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I understanding the process? This is the process I have been using: On my development PC, everything is viewed through http://localhost/ClientSite1/index.cfm; (ClientSite1 being a virtual directory under the default website) On my server, I would set up a virtual directory for the site
RE: How to set virtual sites for localhost viewing?
Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate your other environments while disconnected! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:25 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Hi, Calvin... Thanks for the tip...I'll look into doing it that way. Now, IIUYC (If I Understand You Correctly...(funny...my spellchecker tried to substitute Idiocy for IIUYC! It's probably more insightful than I want to admit! ;o) you're saying that that I would need to create a subdomain with GoDaddy.com, where I handle my DNS for my sites, and create a subdomain for each client that has a site under development? e.g. dev.ClientSite1.com dev.CleintSite2.com etc... Then, on my server, create a website for the sites under development, using a host header of dev.ClientSite1.com, dev.ClientSite2.com...then, once the site is ready to go live, just change the host header to www.ClientSite1.com, www.ClientSite2.com? Am I
RE: How to set virtual sites for localhost viewing?
VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app is running on. The benefit is that your dev and production sites are more closely mirrored, particularly in regards to the pathing discussion last week. For developing on your laptop, I recommend VMWare, you can check it out for free in their current beta. This will really allow you to emulate
RE: How to set virtual sites for localhost viewing?
Good idea! That's the point I was missing in all of this...it seemed that going to GoDaddy.com and changing the DNS (I have direct control if they're registered there and they allow me access) for each site as much trouble as setting up a virtual directory for temporary use... The pieces are starting fall into place. Thanks, Jim! Rick -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:02 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? What you're misssing is that you're unlikely to have direct access to the DNS for all of your clients. You need to set up these host names under your _own_ domain name, or else you'll find yourself needing to contact the client's domain administrator, which gets ugly fast. And is unnecessary. Like I said before, the host names you choose could be generic names, or they could be names reflecting the client name. For instance sbo.whitestonemedia.com might be the host name for the Shellman Bluff Outfitters development site. If you don't want to deal with this for each new client dev site, create some generic ones and reuse them. dev01.whitestonemedia.com dev02.whitestonemedia.com etc. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, February 28, 2005 1:02 PM Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! ~| 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:196870 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: How to set virtual sites for localhost viewing?
One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. Have I taken the appropriate DNS steps and just need to wait or is there something else I need to do? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:18 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you
RE: How to set virtual sites for localhost viewing?
Thanks, Calvin... I'll definitely check into that...you've been a big help and I appreciate it! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:18 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:40 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? You've got it right, up until you talk about changing the DNS from dev.clientsite.com to www.clientsite.com. I take it that your dev server is also your production server, in a perfect world, you wouldn't want it that way. But assuming that is the case, when the site is ready to go live, you would merely add the live site to your server. So after go live, you would have something like: www.clientsite.com serving D:\websites\clientsite\www dev.clientsite.com serving D:\websites\clientsite\dev (note: On a single physical server like this, I would actually do my path something like: D:\websites\clientsite\www\webroot, so that I could have non-web accessible content that belonged to that site available under paths like D:\websites\clientsite\www\files or such) Your client could always preview changes at dev (or any name you prefer really), and upon approval you can move those changes to www. At GoDaddy (how about that superbowl commercial?), you would have two DNS entries. You'll still have to test to see which site your app
RE: How to set virtual sites for localhost viewing?
It'll take a few for the DNS to propogate, or you can try ipconfig /flushdns on your local machine to clear your DNS and hopefully to force your machine to re ask the DNS server for the information to see if your changes are causing the expected behavior. After removing the entries you should be good. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:55 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. Have I taken the appropriate DNS steps and just need to wait or is there something else I need to do? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:18 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have a knack for that! ;o) Right now my server gets little enough traffic that it's not a problem to preview sites to clients. All my initial development is done on a laptop, apart from the server. Thanks for the tip on VMWare...I'll check that out! Rick -Original Message- From: Calvin Ward
Re: How to set virtual sites for localhost viewing?
Go to the configuration in IIS for the default website and remove any identies that have blank host header names. This way, no web site will be displayed by IIS for a bare IP address or for host names that you've pointed at the IP address without having yet set up a virtual web site. You'll get something like a No web site is configured at this address message returned in your browser. Also consider creating the virtual web site as soon as you do the DNS, then put up a blank index page or an under construction page. If you have both development and production servers and this is a brand new site, then do this on the production server. That way you don't have to migrate from the dev server IP to the new IP in the future. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, February 28, 2005 2:54 PM Subject: RE: How to set virtual sites for localhost viewing? One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. ~| 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:196881 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: How to set virtual sites for localhost viewing?
Yes, things are working normally now. If I go to http://www.ShellmanBluffOutfitters.com, I get the can't find it error...good. Thanks, Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:04 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? It'll take a few for the DNS to propogate, or you can try ipconfig /flushdns on your local machine to clear your DNS and hopefully to force your machine to re ask the DNS server for the information to see if your changes are causing the expected behavior. After removing the entries you should be good. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:55 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. Have I taken the appropriate DNS steps and just need to wait or is there something else I need to do? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:18 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple
RE: How to set virtual sites for localhost viewing?
Thanks, Jim! Rick -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:12 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? Go to the configuration in IIS for the default website and remove any identies that have blank host header names. This way, no web site will be displayed by IIS for a bare IP address or for host names that you've pointed at the IP address without having yet set up a virtual web site. You'll get something like a No web site is configured at this address message returned in your browser. Also consider creating the virtual web site as soon as you do the DNS, then put up a blank index page or an under construction page. If you have both development and production servers and this is a brand new site, then do this on the production server. That way you don't have to migrate from the dev server IP to the new IP in the future. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, February 28, 2005 2:54 PM Subject: RE: How to set virtual sites for localhost viewing? One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. ~| 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:196890 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: How to set virtual sites for localhost viewing?
Need a site check... Would someone check and see if they can get this site? www.FortStewart.com Thanks, Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:04 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? It'll take a few for the DNS to propogate, or you can try ipconfig /flushdns on your local machine to clear your DNS and hopefully to force your machine to re ask the DNS server for the information to see if your changes are causing the expected behavior. After removing the entries you should be good. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:55 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? One thing I noticed about the DNS handling is that without a host header to handle www.ShellmanBluffOutfitters.com, it defaults to my default website, which is just a placeholder for an old site. I went into the DNS and took out the www A Record and when that didn't cause www.ShellmanBluffOutfitters.com to display a can't be found error, I went into the CName's and took out the www there, too. It may be too early, time-wise, for the changes to have taken effect, but what I want is for a site to show a can't be found error until I have the site ready to go live. I don't want it to go to my default site; that could confuse someone who might be trying to see the SBO site. Have I taken the appropriate DNS steps and just need to wait or is there something else I need to do? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 4:18 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? VMWare allows you to install additional virtual operating systems on your notebook (or other PC). This means that you can install Windows NT/2000/2003, configure IIS, install ColdFusion (note: Licensing does apply, but the developer edition of CF is perfectly suited for this) exactly as your actual environment is setup. For the DNS issues, you can still use host headers, you would just need to update your hosts file (typically located in drive:\windows\system32\drivers\etc for Windows XP) to reflect the internal IP address of the Virtual server. It's a pretty slick way to setup things, and one thing that is nice about it is that you only have to 'run' the server (all of it) when you need it. VMWare currently runs about $200, so it's a fairly cost effective solution. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:39 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Calvin... As far as putting paths for CF to parse for getting, uploading, and deleting assets according to the environment the site is in (notebook off network, which would be localhost... and server, which would be either http://dev.ClientSite.com or http://www.ClientSite.com, would VMWare take care of the need to have to work in localhost mode and work in an environment consistent with an actual server environment? (I'll go read up on it, but thought I'd just ask, anyway...) I've got to take some time to get my head around this new approach to the workflow... Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:16 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The dev part sounds just right, did it work? -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Ok...what I did at GoDaddy was entered dev along with www and @ as A Records for ShellmanBluffOutfitters.com... For the virtual website on my server, I put dev.ShellmanBluffOutfitters.com as Host Header...sound right? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 2:38 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? If that's the case, then www.ShellmanBluffOutfitters.com would also be too long. Dev is exactly like www as far as setting up in DNS. CNames could be useful, but let's keep it simple until it is working! - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:08 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I tried setting up a subdomain at GoDaddy for dev.ShellmanBluffOutfitters.com, but it rejected it as too long...said it had to be under 25 characters. But would this dev domain be added as a subdomain or as another type of domain, like www, or @, in this case, being dev? (We're talking A Records, now) Or is this where CName's come into play? (I'm probably just complicating a simple issue... I seem to have
RE: How to set virtual sites for localhost viewing?
Hi, Calvin... I decided to try your approach with dev.myclient.com as a staging site for clients, but when I put the host header in with a current site, it's not showing... For example: Current Online Site: www.online.net Also has as host header: online.net Added host header: dev.online.net But if I go to http://dev.online.net, it's not coming up. I'm missing something somewhere...what could it be? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 6:54 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? How about this: Your site: www.defaultwebsite.com Client site: www.myclient.com Client development site: dev.myclient.com Setup your development sites to have hostheaders for the dev.myclient.com site. This would more closely mirror their site in production. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 8:29 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? it's good to have your development environment mirror your production one as much as possible. For sure...that's what I've done in the past and trying to setup this time. It just takes some time to figure out the settings and procedures when things are setup differently... In production, presumably, that client's content will have its own virtual server Yes, that's what I've done in the past...the idea of using a virtual directory was for an intermediate step between initial (for my eyes only) development and deployment of the finished site to the public. For the client to be able to access the site on the Internet, without using host headers for a virtual site (server), the website would have to be setup in a virtual directory under the default website so it could be accessed by domain name of the default website, e.g. http://www.DefaultWebsite.com/website/index.cfm, or by IP, e.g. http://66.xx.xx.xxx/website/index.cfm, right? That seems to be the only two ways I can get a site to show up without using the host headers and for those ways to work, I had to setup a virtual directory for the site and wait to setup a virtual site when I was ready to use the domain name with Host Headers... Am I understanding things or am I missing something? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 5:33 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via the domain name before it's complete. Usually, I would just tell a client to go http://66.xx.xx.79/cfdocs/yoursite/index.cfm to view their site. Looks like that'll just change to telling to go to http://www.DefaultWebsite.com/yoursite/index.cfm, which will work the same, promote my website (when I finally build it!) and be easier for the client to remember. Does this sound like it will work well? You don't have to expose anything to anyone you don't want to, whether you use virtual servers or not. I guess my whole point here is just to mention that it's good to have your development environment mirror your production one as much as possible. In production, presumably, that client's content will have its own virtual server, and won't be a directory within a virtual server. 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:196118 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: How to set virtual sites for localhost viewing?
Anyone else have any thoughts on what Calvin suggested below as far as setting up a development site for online client viewing of a site in progress? I can't figure out what I'm missing in the setupprobably something Calvin figured I knew...but apparently don't... Rick Hi, Calvin... I decided to try your approach with dev.myclient.com as a staging site for clients, but when I put the host header in with a current site, it's not showing... For example: Current Online Site: www.online.net Also has as host header: online.net Added host header: dev.online.net But if I go to http://dev.online.net, it's not coming up. I'm missing something somewhere...what could it be? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 6:54 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? How about this: Your site: www.defaultwebsite.com Client site: www.myclient.com Client development site: dev.myclient.com Setup your development sites to have hostheaders for the dev.myclient.com site. This would more closely mirror their site in production. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 8:29 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? it's good to have your development environment mirror your production one as much as possible. For sure...that's what I've done in the past and trying to setup this time. It just takes some time to figure out the settings and procedures when things are setup differently... In production, presumably, that client's content will have its own virtual server Yes, that's what I've done in the past...the idea of using a virtual directory was for an intermediate step between initial (for my eyes only) development and deployment of the finished site to the public. For the client to be able to access the site on the Internet, without using host headers for a virtual site (server), the website would have to be setup in a virtual directory under the default website so it could be accessed by domain name of the default website, e.g. http://www.DefaultWebsite.com/website/index.cfm, or by IP, e.g. http://66.xx.xx.xxx/website/index.cfm, right? That seems to be the only two ways I can get a site to show up without using the host headers and for those ways to work, I had to setup a virtual directory for the site and wait to setup a virtual site when I was ready to use the domain name with Host Headers... Am I understanding things or am I missing something? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 5:33 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via the domain name before it's complete. Usually, I would just tell a client to go http://66.xx.xx.79/cfdocs/yoursite/index.cfm to view their site. Looks like that'll just change to telling to go to http://www.DefaultWebsite.com/yoursite/index.cfm, which will work the same, promote my website (when I finally build it!) and be easier for the client to remember. Does this sound like it will work well? You don't have to expose anything to anyone you don't want to, whether you use virtual servers or not. I guess my whole point here is just to mention that it's good to have your development environment mirror your production one as much as possible. In production, presumably, that client's content will have its own virtual server, and won't be a directory within a virtual server. 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:196143 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: How to set virtual sites for localhost viewing?
We do this all the time by setting up host names in DNS under our own domain name. For example nicksbakery.ourdomain.com bobstire.ourdomain.com If you know how to set up the virtual web sites in IIS using host headers, then what you may be missing is the need to configure the DNS. We manage our own DNS, so it's pretty simple. If you don't have direct access to the DNS for your domain this could be more trouble than its worth to have your ISP do it for you. But your could have whoever does your domain's DNS delegate a zone to a DNS server that you could run on your development server exclusively for these development host names. Have them delegate a sub-zone to your DNS server. For instance dev.ourdomain.com Then you can manage the dev.ourdomain.com zone and create host names below that: nicksbakery.dev.ourdomain.com bobstire.dev.ourdomain.com Alternately, you could register a domain name just for development purposes and run the DNS on your development server. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, February 23, 2005 11:05 AM Subject: RE: How to set virtual sites for localhost viewing? Anyone else have any thoughts on what Calvin suggested below as far as setting up a development site for online client viewing of a site in progress? I can't figure out what I'm missing in the setupprobably something Calvin figured I knew...but apparently don't... Rick Hi, Calvin... I decided to try your approach with dev.myclient.com as a staging site for clients, but when I put the host header in with a current site, it's not showing... For example: Current Online Site: www.online.net Also has as host header: online.net Added host header: dev.online.net But if I go to http://dev.online.net, it's not coming up. I'm missing something somewhere...what could it be? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 6:54 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? How about this: Your site: www.defaultwebsite.com Client site: www.myclient.com Client development site: dev.myclient.com Setup your development sites to have hostheaders for the dev.myclient.com site. This would more closely mirror their site in production. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 8:29 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? it's good to have your development environment mirror your production one as much as possible. For sure...that's what I've done in the past and trying to setup this time. It just takes some time to figure out the settings and procedures when things are setup differently... In production, presumably, that client's content will have its own virtual server Yes, that's what I've done in the past...the idea of using a virtual directory was for an intermediate step between initial (for my eyes only) development and deployment of the finished site to the public. For the client to be able to access the site on the Internet, without using host headers for a virtual site (server), the website would have to be setup in a virtual directory under the default website so it could be accessed by domain name of the default website, e.g. http://www.DefaultWebsite.com/website/index.cfm, or by IP, e.g. http://66.xx.xx.xxx/website/index.cfm, right? That seems to be the only two ways I can get a site to show up without using the host headers and for those ways to work, I had to setup a virtual directory for the site and wait to setup a virtual site when I was ready to use the domain name with Host Headers... Am I understanding things or am I missing something? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 5:33 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via the domain name before it's complete. Usually, I would just tell a client to go http://66.xx.xx.79/cfdocs/yoursite/index.cfm to view their site. Looks like that'll just change to telling to go to http://www.DefaultWebsite.com/yoursite/index.cfm, which will work the same, promote my website (when I finally build it!) and be easier for the client to remember. Does this sound like it will work well? You don't have to expose anything to anyone you don't want to, whether you use virtual servers or not. I guess my whole point here is just to mention that it's good to have your development environment mirror your production one as much as possible. In production, presumably, that client's
RE: How to set virtual sites for localhost viewing?
I manage my DNS through GoDaddy.com, where I register my sites. Haven't ventured into the land of managing my own DNS. After looking into this at GoDaddy, it seems simpler, just to use a virtual directory under my DefaultWebsite for online development viewing, sending my client to http://www.DefaultWebsite.com/ClientSite, then, once the site is ready to go live, make a virtual site for it... http://www.ClientSite.com Is that not easier than manipulating DNS constantly? (It probably seems easier because I understand it! ;o) Rick -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 1:21 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? We do this all the time by setting up host names in DNS under our own domain name. For example nicksbakery.ourdomain.com bobstire.ourdomain.com If you know how to set up the virtual web sites in IIS using host headers, then what you may be missing is the need to configure the DNS. We manage our own DNS, so it's pretty simple. If you don't have direct access to the DNS for your domain this could be more trouble than its worth to have your ISP do it for you. But your could have whoever does your domain's DNS delegate a zone to a DNS server that you could run on your development server exclusively for these development host names. Have them delegate a sub-zone to your DNS server. For instance dev.ourdomain.com Then you can manage the dev.ourdomain.com zone and create host names below that: nicksbakery.dev.ourdomain.com bobstire.dev.ourdomain.com Alternately, you could register a domain name just for development purposes and run the DNS on your development server. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, February 23, 2005 11:05 AM Subject: RE: How to set virtual sites for localhost viewing? Anyone else have any thoughts on what Calvin suggested below as far as setting up a development site for online client viewing of a site in progress? I can't figure out what I'm missing in the setupprobably something Calvin figured I knew...but apparently don't... Rick Hi, Calvin... I decided to try your approach with dev.myclient.com as a staging site for clients, but when I put the host header in with a current site, it's not showing... For example: Current Online Site: www.online.net Also has as host header: online.net Added host header: dev.online.net But if I go to http://dev.online.net, it's not coming up. I'm missing something somewhere...what could it be? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 6:54 AM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? How about this: Your site: www.defaultwebsite.com Client site: www.myclient.com Client development site: dev.myclient.com Setup your development sites to have hostheaders for the dev.myclient.com site. This would more closely mirror their site in production. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 8:29 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? it's good to have your development environment mirror your production one as much as possible. For sure...that's what I've done in the past and trying to setup this time. It just takes some time to figure out the settings and procedures when things are setup differently... In production, presumably, that client's content will have its own virtual server Yes, that's what I've done in the past...the idea of using a virtual directory was for an intermediate step between initial (for my eyes only) development and deployment of the finished site to the public. For the client to be able to access the site on the Internet, without using host headers for a virtual site (server), the website would have to be setup in a virtual directory under the default website so it could be accessed by domain name of the default website, e.g. http://www.DefaultWebsite.com/website/index.cfm, or by IP, e.g. http://66.xx.xx.xxx/website/index.cfm, right? That seems to be the only two ways I can get a site to show up without using the host headers and for those ways to work, I had to setup a virtual directory for the site and wait to setup a virtual site when I was ready to use the domain name with Host Headers... Am I understanding things or am I missing something? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 5:33 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via
Re: How to set virtual sites for localhost viewing?
One thing I found using a SOHO router is that it doesn't support loopback, meaning my browser can't go out to the Net and then return to my LAN to find domain names or public IPs hosted on my own network. In my office I host my own dev server (onpointsolutions.net). My clients, who aren't on my network obviously, can view www.client-dev-site.onpointsolutions.net fine but I can't because of the router's limitations. The solution for me is to add an entry to my workstation's host file like: 192.168.0.7 client-dev-site.onpointsolutions.net This simply tells the workstation to stay within the network to view the dev site on the server box next to it. This method obviously won't help you determine if you've correctly configured your server for outside visitors (for that I use a dial up connection outside my LAN), but it will help if you can't view the sites yourself from within your LAN. HTH. - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~| 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:196160 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: How to set virtual sites for localhost viewing?
One thing I found using a SOHO router is that it doesn't support loopback, Some do, as we did not have that problem here when we had a local dev server. We use the LinkSys WRT45G unit and it always worked well for us in this regard. --- Justin D. Scott Vice President Sceiron Interactive, Inc. www.sceiron.com [EMAIL PROTECTED] 941.378.5341 - office 941.320.2402 - mobile 877.678.6011 - facsimile ~| 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:196162 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: How to set virtual sites for localhost viewing?
There can be a big difference between using a dedicated site and trying to accomplish the same thing by simulating a site within a subdirectory. For instance, you can't easily use references like img src=/images/abc.gif. I doubt you'll be managing DNS constantly, but it depends on how often you accept new client projects. If you have a client for whom you regularly work on their web site then you could always leave the virtual site client.ourdomain.com configured in DNS. The other thing you might do is create a fixed number of 'generic' development virtual web sites. test01.ourdomain.com test02.ourdomain.com test20.ourdomain.com Create and leave the host names in DNS. One time and then forget about it. Set up the virtual sites within IIS and then stop/start them as needed. You'll probably want to implement a login system to view these sites while under development, even if they're intended to be publicly available sites. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, February 23, 2005 12:03 PM Subject: RE: How to set virtual sites for localhost viewing? I manage my DNS through GoDaddy.com, where I register my sites. Haven't ventured into the land of managing my own DNS. After looking into this at GoDaddy, it seems simpler, just to use a virtual directory under my DefaultWebsite for online development viewing, sending my client to http://www.DefaultWebsite.com/ClientSite, then, once the site is ready to go live, make a virtual site for it... http://www.ClientSite.com Is that not easier than manipulating DNS constantly? (It probably seems easier because I understand it! ;o) ~| 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:196164 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: How to set virtual sites for localhost viewing?
Hi, Bob... That's good advice...I'll look into that approach. Thanks, Rick -Original Message- From: Bob Haroche [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 2:43 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? One thing I found using a SOHO router is that it doesn't support loopback, meaning my browser can't go out to the Net and then return to my LAN to find domain names or public IPs hosted on my own network. In my office I host my own dev server (onpointsolutions.net). My clients, who aren't on my network obviously, can view www.client-dev-site.onpointsolutions.net fine but I can't because of the router's limitations. The solution for me is to add an entry to my workstation's host file like: 192.168.0.7 client-dev-site.onpointsolutions.net This simply tells the workstation to stay within the network to view the dev site on the server box next to it. This method obviously won't help you determine if you've correctly configured your server for outside visitors (for that I use a dial up connection outside my LAN), but it will help if you can't view the sites yourself from within your LAN. HTH. - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~| 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:196174 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: How to set virtual sites for localhost viewing?
For instance, you can't easily use references like img src=/images/abc.gif. That's true...my workaround has been to create variables for paths in my Application.cfm depending on what the CGI.Server_Name is. If your approach would allow me to avoid that chore for every new site, then it would be easier to manage the DNS (once I figured it out) than change the Application.cfm each time. Now, I've just figured out how to manage my DNS records with DNS server with GoDaddy.com within the last year...with what we're talking about here, is this just manipulation of the DNS records on my server only? (Showing my lack of understanding about DNS now...) Thanks for the tip... Rick -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 3:00 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? There can be a big difference between using a dedicated site and trying to accomplish the same thing by simulating a site within a subdirectory. For instance, you can't easily use references like img src=/images/abc.gif. I doubt you'll be managing DNS constantly, but it depends on how often you accept new client projects. If you have a client for whom you regularly work on their web site then you could always leave the virtual site client.ourdomain.com configured in DNS. The other thing you might do is create a fixed number of 'generic' development virtual web sites. test01.ourdomain.com test02.ourdomain.com . test20.ourdomain.com Create and leave the host names in DNS. One time and then forget about it. Set up the virtual sites within IIS and then stop/start them as needed. You'll probably want to implement a login system to view these sites while under development, even if they're intended to be publicly available sites. - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, February 23, 2005 12:03 PM Subject: RE: How to set virtual sites for localhost viewing? I manage my DNS through GoDaddy.com, where I register my sites. Haven't ventured into the land of managing my own DNS. After looking into this at GoDaddy, it seems simpler, just to use a virtual directory under my DefaultWebsite for online development viewing, sending my client to http://www.DefaultWebsite.com/ClientSite, then, once the site is ready to go live, make a virtual site for it... http://www.ClientSite.com Is that not easier than manipulating DNS constantly? (It probably seems easier because I understand it! ;o) ~| 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:196179 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: How to set virtual sites for localhost viewing?
How about this: Your site: www.defaultwebsite.com Client site: www.myclient.com Client development site: dev.myclient.com Setup your development sites to have hostheaders for the dev.myclient.com site. This would more closely mirror their site in production. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 8:29 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? it's good to have your development environment mirror your production one as much as possible. For sure...that's what I've done in the past and trying to setup this time. It just takes some time to figure out the settings and procedures when things are setup differently... In production, presumably, that client's content will have its own virtual server Yes, that's what I've done in the past...the idea of using a virtual directory was for an intermediate step between initial (for my eyes only) development and deployment of the finished site to the public. For the client to be able to access the site on the Internet, without using host headers for a virtual site (server), the website would have to be setup in a virtual directory under the default website so it could be accessed by domain name of the default website, e.g. http://www.DefaultWebsite.com/website/index.cfm, or by IP, e.g. http://66.xx.xx.xxx/website/index.cfm, right? That seems to be the only two ways I can get a site to show up without using the host headers and for those ways to work, I had to setup a virtual directory for the site and wait to setup a virtual site when I was ready to use the domain name with Host Headers... Am I understanding things or am I missing something? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 5:33 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via the domain name before it's complete. Usually, I would just tell a client to go http://66.xx.xx.79/cfdocs/yoursite/index.cfm to view their site. Looks like that'll just change to telling to go to http://www.DefaultWebsite.com/yoursite/index.cfm, which will work the same, promote my website (when I finally build it!) and be easier for the client to remember. Does this sound like it will work well? You don't have to expose anything to anyone you don't want to, whether you use virtual servers or not. I guess my whole point here is just to mention that it's good to have your development environment mirror your production one as much as possible. In production, presumably, that client's content will have its own virtual server, and won't be a directory within a virtual server. 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:195903 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: How to set virtual sites for localhost viewing?
is your hosts file OK? - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, February 21, 2005 1:51 PM Subject: How to set virtual sites for localhost viewing? Greetings, all... This is a follow-up to the conversation we had the other day about setting up website files on drives others that the C: drive and also not in the CFDOCS folder... I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005 ~| 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:195772 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: How to set virtual sites for localhost viewing?
Assuming DNS and/or Host file are set up correctly, shouldn't that just be http://Virtual_Trial/index.cfm? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 10:52 AM To: CF-Talk Subject: How to set virtual sites for localhost viewing? Greetings, all... This is a follow-up to the conversation we had the other day about setting up website files on drives others that the C: drive and also not in the CFDOCS folder... I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005 ~| 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:195773 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: How to set virtual sites for localhost viewing?
I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? If you have a virtual website called Virtual_Trial, that website is configured to accept requests coming to one or more IP addresses, and may be configured to require a Host header. If you want to have multiple virtual websites on a single machine, listening on a single IP address, you will need to configure them to use different Host headers. For example, I might have two virtual servers on my machine like so: IP address: 127.0.0.1 Host header: www.foo.com Web root directory: d:\websites\www.foo.com IP address: 127.0.0.1 Host header: www.bar.com Web root directory: d:\websites\www.bar.com Because these Host headers don't correspond to real DNS entries anywhere, I'd have to modify my hosts file to associate 127.0.0.1 with both hostnames. I wouldn't be able to use localhost or 127.0.0.1 to access either site directly in that 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! ~| 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:195776 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: How to set virtual sites for localhost viewing?
Assuming DNS and/or Host file are set up correctly I'm assuming nothing at this point... shouldn't that just be http://Virtual_Trial/index.cfm? Didn't work... Rick -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:02 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Assuming DNS and/or Host file are set up correctly, shouldn't that just be http://Virtual_Trial/index.cfm? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning .-Original Message- .From: Rick Faircloth [mailto:[EMAIL PROTECTED] .Sent: Monday, February 21, 2005 10:52 AM .To: CF-Talk .Subject: How to set virtual sites for localhost viewing? . .Greetings, all... . .This is a follow-up to the conversation we had the other day .about setting up website files on drives others that the C: drive .and also not in the CFDOCS folder... . .I'm setting up a new server where the website files will be on .D:\Websites... . .Example: . .D:\Websites\Virtual_Trial . .IIS is setup with a virtual website called Virtual_Trial and the Home .Directory .points to D:\Websites\Virtual_Trial... . .There's only 1 file in the folder...Index.cfm . .I can view the file using the browser path .D:\Websites\Virtual_Trial\Index.cfm, .but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not .Found error. . .What am I missing? . .Rick . . . .-- .No virus found in this outgoing message. .Checked by AVG Anti-Virus. .Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005 . . . ~| 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:195782 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: How to set virtual sites for localhost viewing?
As far as I know...(reassuring, huh?) I've always been able to view sites using localhost as long as the root folder was under cfdocs...e.g., http://localhost/cfdocs/virtual_trial/index.cfm, but taking them out to another drive won't allow that to work... Rick -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:01 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? is your hosts file OK? - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, February 21, 2005 1:51 PM Subject: How to set virtual sites for localhost viewing? Greetings, all... This is a follow-up to the conversation we had the other day about setting up website files on drives others that the C: drive and also not in the CFDOCS folder... I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005 ~| 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:195786 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: How to set virtual sites for localhost viewing?
Good question... What would it look like if it's ok? Rick -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:01 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? is your hosts file OK? - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, February 21, 2005 1:51 PM Subject: How to set virtual sites for localhost viewing? Greetings, all... This is a follow-up to the conversation we had the other day about setting up website files on drives others that the C: drive and also not in the CFDOCS folder... I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005 ~| 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:195787 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: How to set virtual sites for localhost viewing?
I've been using host headers for several years, and serving the sites fine...even viewing them locally using localhost, but now I'm trying to set up the site directories on a separate drive, rather than on the system drive and that's where the problem comes in. Perhaps I should take out the host headers until the site goes live? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:28 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? If you have a virtual website called Virtual_Trial, that website is configured to accept requests coming to one or more IP addresses, and may be configured to require a Host header. If you want to have multiple virtual websites on a single machine, listening on a single IP address, you will need to configure them to use different Host headers. For example, I might have two virtual servers on my machine like so: IP address: 127.0.0.1 Host header: www.foo.com Web root directory: d:\websites\www.foo.com IP address: 127.0.0.1 Host header: www.bar.com Web root directory: d:\websites\www.bar.com Because these Host headers don't correspond to real DNS entries anywhere, I'd have to modify my hosts file to associate 127.0.0.1 with both hostnames. I wouldn't be able to use localhost or 127.0.0.1 to access either site directly in that 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! ~| 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:195791 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: How to set virtual sites for localhost viewing?
Perhaps I should take out the host headers until the site goes live? No...that didn't help... Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 3:03 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I've been using host headers for several years, and serving the sites fine...even viewing them locally using localhost, but now I'm trying to set up the site directories on a separate drive, rather than on the system drive and that's where the problem comes in. Perhaps I should take out the host headers until the site goes live? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:28 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? If you have a virtual website called Virtual_Trial, that website is configured to accept requests coming to one or more IP addresses, and may be configured to require a Host header. If you want to have multiple virtual websites on a single machine, listening on a single IP address, you will need to configure them to use different Host headers. For example, I might have two virtual servers on my machine like so: IP address: 127.0.0.1 Host header: www.foo.com Web root directory: d:\websites\www.foo.com IP address: 127.0.0.1 Host header: www.bar.com Web root directory: d:\websites\www.bar.com Because these Host headers don't correspond to real DNS entries anywhere, I'd have to modify my hosts file to associate 127.0.0.1 with both hostnames. I wouldn't be able to use localhost or 127.0.0.1 to access either site directly in that 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! ~| 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:195793 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: How to set virtual sites for localhost viewing?
I setup a virtual directory under the default website and I'm able to view the site using http://localhost/website/index.cfm, but when a virtual site is setup under or...on the same level as...the default website, then I can't access it using http://localhost/website/index.cfm... Rick -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:01 PM To: CF-Talk Subject: Re: How to set virtual sites for localhost viewing? is your hosts file OK? - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, February 21, 2005 1:51 PM Subject: How to set virtual sites for localhost viewing? Greetings, all... This is a follow-up to the conversation we had the other day about setting up website files on drives others that the C: drive and also not in the CFDOCS folder... I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005 ~| 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:195795 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: How to set virtual sites for localhost viewing?
Well...I think I've found a reasonable way to proceed... Site Under Development: - Create Virtual Directory under Default Website That way, I can view the site using http://localhost/website/index.cfm, also, a client who wants to view their site while it's being developed can can go to http://www.DefaultWebSite.com/website/index.cfm for review. Completed Site: - Create New Site and re-direct via host headers: Access via http://www.website.com Any suggestions concerning this approach? I'm setting up a new server, so I'm trying to make sure I start down the right path and don't have to backtrack halfway through the setup of all the sites... Thanks, Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 3:12 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Perhaps I should take out the host headers until the site goes live? No...that didn't help... Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 3:03 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I've been using host headers for several years, and serving the sites fine...even viewing them locally using localhost, but now I'm trying to set up the site directories on a separate drive, rather than on the system drive and that's where the problem comes in. Perhaps I should take out the host headers until the site goes live? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:28 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I'm setting up a new server where the website files will be on D:\Websites... Example: D:\Websites\Virtual_Trial IIS is setup with a virtual website called Virtual_Trial and the Home Directory points to D:\Websites\Virtual_Trial... There's only 1 file in the folder...Index.cfm I can view the file using the browser path D:\Websites\Virtual_Trial\Index.cfm, but if I try http://localhost/Virtual_Trial/index.cfm, I get a File Not Found error. What am I missing? If you have a virtual website called Virtual_Trial, that website is configured to accept requests coming to one or more IP addresses, and may be configured to require a Host header. If you want to have multiple virtual websites on a single machine, listening on a single IP address, you will need to configure them to use different Host headers. For example, I might have two virtual servers on my machine like so: IP address: 127.0.0.1 Host header: www.foo.com Web root directory: d:\websites\www.foo.com IP address: 127.0.0.1 Host header: www.bar.com Web root directory: d:\websites\www.bar.com Because these Host headers don't correspond to real DNS entries anywhere, I'd have to modify my hosts file to associate 127.0.0.1 with both hostnames. I wouldn't be able to use localhost or 127.0.0.1 to access either site directly in that 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! ~| 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:195799 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: How to set virtual sites for localhost viewing?
I've been using host headers for several years, and serving the sites fine...even viewing them locally using localhost, but now I'm trying to set up the site directories on a separate drive, rather than on the system drive and that's where the problem comes in. The physical location of the files is unrelated to the use of separate virtual servers using Host headers. I'm not sure what you mean by viewing them locally using localhost, since that implies that you're typing something like http://localhost/somethingorother/; in which case you're not using Host headers unless you've defined your virtual web server to look for localhost specifically within the Host header. 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:195801 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: How to set virtual sites for localhost viewing?
Any suggestions concerning this approach? I'm setting up a new server, so I'm trying to make sure I start down the right path and don't have to backtrack halfway through the setup of all the sites... Why not just create the virtual server before you do any development? That's no more difficult than creating a virtual directory, really. If you want others to view the virtual server, you can either bind it to a separate IP socket (either using a different IP address or port) or use Host headers to get to the virtual server. If you use Host headers, you'll need to be able to create DNS records as needed, or have people add the appropriate information to their hosts file. 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:195802 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: How to set virtual sites for localhost viewing?
I guess when I had all the root folders for the websites under C:\Inetpub\wwwroot\cfdocs\website\index.cfm they were automatically under the localhost, which is C:\Inetpub\wwwroot... I would view them like http://localhost/cfdocs/website/index.cfm. Now that the sites are on another drive, and not under C:\Inetpub\wwwroot, they're not in the localhost path. I'll just create virtual directories when I'm ready for a client to view via the Internet, but not through their domain, as in http://DefaultWebsite/Website/index.cfm, then, when it's completed, I'll put it in as a new website and use the host headers to direct traffic. When I mentioned viewing them locally using localhost, I was referring to the time when I was developing sites on my development box, not the server. However, that practice may change, too, as I try to mirror my development folder structure with my server structure and practices... Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 3:57 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I've been using host headers for several years, and serving the sites fine...even viewing them locally using localhost, but now I'm trying to set up the site directories on a separate drive, rather than on the system drive and that's where the problem comes in. The physical location of the files is unrelated to the use of separate virtual servers using Host headers. I'm not sure what you mean by viewing them locally using localhost, since that implies that you're typing something like http://localhost/somethingorother/; in which case you're not using Host headers unless you've defined your virtual web server to look for localhost specifically within the Host header. 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:195812 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: How to set virtual sites for localhost viewing?
Why not just create the virtual server before you do any development? The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via the domain name before it's complete. Usually, I would just tell a client to go http://66.xx.xx.79/cfdocs/yoursite/index.cfm to view their site. Looks like that'll just change to telling to go to http://www.DefaultWebsite.com/yoursite/index.cfm, which will work the same, promote my website (when I finally build it!) and be easier for the client to remember. Does this sound like it will work well? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 3:59 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? Any suggestions concerning this approach? I'm setting up a new server, so I'm trying to make sure I start down the right path and don't have to backtrack halfway through the setup of all the sites... Why not just create the virtual server before you do any development? That's no more difficult than creating a virtual directory, really. If you want others to view the virtual server, you can either bind it to a separate IP socket (either using a different IP address or port) or use Host headers to get to the virtual server. If you use Host headers, you'll need to be able to create DNS records as needed, or have people add the appropriate information to their hosts file. 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:195813 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: How to set virtual sites for localhost viewing?
The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via the domain name before it's complete. Usually, I would just tell a client to go http://66.xx.xx.79/cfdocs/yoursite/index.cfm to view their site. Looks like that'll just change to telling to go to http://www.DefaultWebsite.com/yoursite/index.cfm, which will work the same, promote my website (when I finally build it!) and be easier for the client to remember. Does this sound like it will work well? You don't have to expose anything to anyone you don't want to, whether you use virtual servers or not. I guess my whole point here is just to mention that it's good to have your development environment mirror your production one as much as possible. In production, presumably, that client's content will have its own virtual server, and won't be a directory within a virtual server. 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:195814 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: How to set virtual sites for localhost viewing?
I guess when I had all the root folders for the websites under C:\Inetpub\wwwroot\cfdocs\website\index.cfm they were automatically under the localhost, which is C:\Inetpub\wwwroot... Why would you go to the trouble of putting your work within the CFDOCS directory? Now that the sites are on another drive, and not under C:\Inetpub\wwwroot, they're not in the localhost path. You can change the default directory of any virtual server, of course. 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:195816 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: How to set virtual sites for localhost viewing?
it's good to have your development environment mirror your production one as much as possible. For sure...that's what I've done in the past and trying to setup this time. It just takes some time to figure out the settings and procedures when things are setup differently... In production, presumably, that client's content will have its own virtual server Yes, that's what I've done in the past...the idea of using a virtual directory was for an intermediate step between initial (for my eyes only) development and deployment of the finished site to the public. For the client to be able to access the site on the Internet, without using host headers for a virtual site (server), the website would have to be setup in a virtual directory under the default website so it could be accessed by domain name of the default website, e.g. http://www.DefaultWebsite.com/website/index.cfm, or by IP, e.g. http://66.xx.xx.xxx/website/index.cfm, right? That seems to be the only two ways I can get a site to show up without using the host headers and for those ways to work, I had to setup a virtual directory for the site and wait to setup a virtual site when I was ready to use the domain name with Host Headers... Am I understanding things or am I missing something? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 5:33 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? The reason I don't go to a virtual server (site in IIS) at first is to avoid having to use Host Headers and expose the site to the public via the domain name before it's complete. Usually, I would just tell a client to go http://66.xx.xx.79/cfdocs/yoursite/index.cfm to view their site. Looks like that'll just change to telling to go to http://www.DefaultWebsite.com/yoursite/index.cfm, which will work the same, promote my website (when I finally build it!) and be easier for the client to remember. Does this sound like it will work well? You don't have to expose anything to anyone you don't want to, whether you use virtual servers or not. I guess my whole point here is just to mention that it's good to have your development environment mirror your production one as much as possible. In production, presumably, that client's content will have its own virtual server, and won't be a directory within a virtual server. 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:195842 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: How to set virtual sites for localhost viewing?
Why would you go to the trouble of putting your work within the CFDOCS directory? Just ignorance when I first setup my first server with CF... At some point during the time I was getting started with CF, I believed that was the appropriate way to setup CF sites...thought it was the only way... With my server running well, I didn't want to go to the trouble to change everything. Now that I've lost a server and am putting a new one together, I thought I'd try to do things in a better way. Got any more advice? I appreciate yours and everyone else's help... Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 5:35 PM To: CF-Talk Subject: RE: How to set virtual sites for localhost viewing? I guess when I had all the root folders for the websites under C:\Inetpub\wwwroot\cfdocs\website\index.cfm they were automatically under the localhost, which is C:\Inetpub\wwwroot... Why would you go to the trouble of putting your work within the CFDOCS directory? Now that the sites are on another drive, and not under C:\Inetpub\wwwroot, they're not in the localhost path. You can change the default directory of any virtual server, of course. 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:195845 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