Skip to main content
Known Participant
November 1, 2010
Question

hosting question

  • November 1, 2010
  • 3 replies
  • 776 views

hi guys,

one (simple) question: I'm currently developing my ColdFusion application on ColdFusion server installed on win7 OS. I've decided to put it online for testing reasons and found very cheap hosting. However it's hosting on Linux. Now I have nothing against Linux whatsoever, but will I be able to configure my Dreamweaver + ColdFusion apps so the remote server (which runs on Linux) to be synchronised with my work properly.

I hope it makes sense what i've just said as i've never done it before hence everything's very new to me. Dreamweaver has this option to sync your files with the server and I'd like to use it as I code something locally.

cheers,

Simon

    This topic has been closed for replies.

    3 replies

    Participating Frequently
    November 1, 2010

    The biggest thing to watch out for is case-sensitive file names: they

    are in Linux. This means that application.cfm doesn't work, it has to

    be Application.cfm, and will fail if

    the file is actually named myFile.cfm.

    Participating Frequently
    November 3, 2010

    Haha, Indeed.

    I decided to go with godaddy, purely because of their good reputation of excellant up-time.

    Turned out quite good.

    Managed to get 4 large sites, complete with db's up and running in no time on windows Ultimate Hosting Plan..

    (Albeit a few small issues)

    Participating Frequently
    November 1, 2010

    I'm not much of a dreamweaver users, but how are you syncing the files - via FTP? If so, it should make a big difference for you provided the hosting company supports FTP/SFTP.

    you might want to consider a few other things though:

    1. Linux is case-sensitive when it comes to directories and file names. E.g. on windows you might have a file a.cfm and it doesn't matter if you like to a.cfm or A.cfm - on Linux it _will_ matter. Best is to follow your own convention and for instance always use lower case for file names.

    2. Watch out for file/directory paths: Linux /opt/blabla/whatever/b.cfm whereas on windows you have c:\gfgf\gfgfgfd\gh\gfdgfd etc. The slashes are different and in Linux you have one single entry point into your file system / whereas in Windows you might have multiple drive letters. There are CF functions to work around that, make sure you use those.

    Cheers

    Kai

    ilssac
    Inspiring
    November 1, 2010

    ColdFusion runs on a Linux server just fine.  But it must be installed on the server.  And there is little chance that a hosting provider offering a linux package that DOES NOT also advertise their support of ColdFusion is going have it available to you nor are you going to be allowed to install it on a shared hosting server.

    Now if your hosting solution is some time of VM, or other, hosted server package then yes, you get at least some say in what server software you install in such a situation.  But then YOU are going to be responsible for the purchase and licensing of the ColdFusion application server for at least several hundred dollars.

    The most likely scenario is that you just need to find a hosting provider, linux, unix, or windows that also supports ColdFusion.  There are plenty out there for a wide range of prices some less then $10 per month.

    Simon.DauAuthor
    Known Participant
    November 1, 2010

    ilssac, thanks for your answer. I think i've been misunderstood a bit. What I actually ment by linux hosting is that provider I've found is offering shared coldfusion hosting installed on linux platform. Myself I use coldfusion installed on windows 7 (localhost for development purposes). So my question was whether i'll be able to connect my dreamweaver configured with coldfusion (both on windows) to the coldfusion on linux (online hosting). will i be able to sync my files straight from dreamweaver or i'll need to upload it everytime using ftp?

    cheers,Simon

    ilssac
    Inspiring
    November 1, 2010

    Then you should have little problem.  There are a few thing that work differently on Windows then on Linux, but other then Application.cfm|cfc vs application.cfm|cfc and OnRequestEnd.cfm vs onrequestend, most of them are either obvious and|or inconsequential.  Just note that Linux (an all the Unix variant) have case sensetive files whera as Windows does not.  So many people are bitten by having badly named application.cfm files that will not automatically run under Unix bases operating systems because the actually file name is "Application.cfm".

    I just wanted to make sure your provider supported ColdFusion becasue there is probably 100 vanilla Linux based hosting providers for every one that includes ColdFusion.