6 Replies Latest reply: Jan 23, 2012 12:02 AM by BKBK RSS

    Help - Transfer ColdFusion site to new server?

    CaptainColumbus

      My friend has a coldfusion site with access database that needs to get transfered to a new server can anyone explain the process? Also do you actually need coldfusion locally on your computer to develop a website, or can it all be done online? I have never worked with ColdFusion before and need some advice.

        • 1. Re: Help - Transfer ColdFusion site to new server?
          Dave Watts ACP

          It's pretty simple, actually. A CF site is basically just a directory with a bunch of files, and a few settings within the CF server itself. First, you'll need to catalog these settings so you can create them on the new server. Then, copy the files from the old server to the new server, make any necessary adjustments if paths are different on the two servers, and you're all set.

           

          It's possible for CF developers to write setup scripts that will actually take care of all this, but my assumption is that you don't have one of those for this application.

           

          Finally, you don't need to have CF installed locally on your own computer. You don't need anything other than a text editor on your own computer, and a network connection to the CF server's filesystem. That said, it's much easier to develop CF sites with CF locally installed, as you can fiddle around with the server easier. The developer version of CF is free for just this purpose.

           

          Dave Watts, CTO, Fig Leaf Software

          • 2. Re: Help - Transfer ColdFusion site to new server?
            CaptainColumbus Community Member

            Godaddy dropped coldfision so I don't believe I have access to it to check the server settings. Basically what I have is a copy of the directory and the access database. Should I just point the new server to the database what other settings do I need to know? I really appreciate your advice.

            • 3. Re: Help - Transfer ColdFusion site to new server?
              Dave Watts ACP

              In that case, your best bet is just to recreate the datasource, temporarily turn on error display (under Debugging and Logging in the CF Administrator, I think) and try running the app. If there are any problems, you'll see them and can resolve them one by one until everything's working.

               

              Dave Watts, CTO, Fig Leaf Software

              • 4. Re: Help - Transfer ColdFusion site to new server?
                CaptainColumbus Community Member

                Alright I am still having troubles maybe you might be able to suggest something.

                This is what I have done so far.

                 

                1. I have a ColdFusion supported server hosting plan with readyhosting.com

                2. I added my domain and pointed it to a subdirectory of the root.

                3. I uploaded all the files from the old CF site to the directory via ftp.

                4. I added the DSN and pointed it to the MS Access Database within the directory.

                 

                Right now my server is not displaying the .cfm files so nothing shows up at all, any ideas?

                • 5. Re: Help - Transfer ColdFusion site to new server?
                  Kkofal

                  you need to have CF installed on that server to process the tags, and the WEB server needs to understand to process .cfm files using the CF server software.

                   

                  Try creating a hello.html file with the infamous "Hello World!".  Point your browser to the URL\hello.html to determine if the DNS is being resolved to the correct server.  If it is then change the file name to hello.cfm and point your browser to the new file.  If nothing is being displayed then coldfusion isn't configured for that directory.  Is this an Apache or IIS box?

                   

                  Kevin

                  • 6. Re: Help - Transfer ColdFusion site to new server?
                    BKBK MVP

                    CaptainColumbus wrote:

                     

                    Alright I am still having troubles maybe you might be able to suggest something.

                    This is what I have done so far.

                     

                    1. I have a ColdFusion supported server hosting plan with readyhosting.com

                    2. I added my domain and pointed it to a subdirectory of the root.

                    3. I uploaded all the files from the old CF site to the directory via ftp.

                    4. I added the DSN and pointed it to the MS Access Database within the directory.

                     

                    Right now my server is not displaying the .cfm files so nothing shows up at all, any ideas?

                     

                    Some crucial questions are unanswered.

                    1. What was the previous version of ColdFusion, an what is the current version? If you move, for example, from CF4.5 to CF8, then you will have to expect the code to require changes.

                    2. Have you verified whether the change in diectory structure affects the code?

                    3. Do you have an application file? (Check the root directory in the directory structure of your previous site). If so, did you copy it to the right location on the new server?