I have a basic webpage hosted on Godaddy hosting. It is static HTML with links to a few files. I need to change the files every week or so and my current workflow is as follows:

-- Create new versions of the files locally

-- Upload them via FTP

-- Modify the HTML homepage

The modification/upload above is done via SSH/SCP which adds a significant overhead every time. I was wondering whether I can sync my local modifications automatically in a Dropbox-like style?

A couple of solutions I tried that don't seem to work:

-- I couldn't figure out how to install Dropbox on Godaddy hosting (this would be the easiest way). Is this possible?

-- Storing the files in Dropbox and using public links to them from the homepage. However, Dropbox changes links every time the file is modified, so I have to get new links and update them on my homepage every time. Is there a way to make the links static?


I dont know if it is possibly on your GoDaddy Hosting Account, but im not sure, you do need Python: http://support.godaddy.com/help/article/7254/can-i-use-python-272-with-my-hosting-account but I read you cant compile modules (as in http://support.godaddy.com/groups/web-hosting/forum/topic/installing-and-using-python-packages/)

I have a setup where I have installed Dropbox on the server and use it like you describe.

I will leave this as reference for you or other users who want to have Dropbox for syncing parts of a website or for e.g. offloading backups and logs automatically (so the other way around). In my case I use it for transferring / syncing some data files to my server that I then process with my website so it always has current data.

  • get hosting*) where you can run the required Python Version (this depends on the version of the python script you are using for CLI against Dropbox so I cant give the exact version) (but depending on the one you are using take it along as a requirement). For me: minimal version 2.4 of the C library, wget and Python 2.5 (no support for Python 3)
  • then install Dropbox on that server: always via https://www.dropbox.com/install?os=lnx (tar -xczf dropbox.tar.gz) : this will become /.dropbox-dist , you can now run this as ~/.dropbox-dist/dropboxd & to run it as a deamon)
  • To link it to your account : you probably have no browser on your server so the handiest is probably via a ssh tunnel: ssh -D 9999 username@ip to link it
  • the folder /Dropbox is then created and it starts syncing
  • via the CLI tool you can then exclude directories that you dont want to have synced, POSSIBLY you only want one specific folder to be synced, how to use? like this: dropbox.py exclude add "blabla"

More information and other links etc... : http://www.dropboxwiki.com/Text_Based_Linux_Install

I ment to use it only for those data files but occasionally it is pretty handy to get some information e.g. logs quickly to my local machine while I'm in a flow. So its really handy once in a while other than only for the data files.

Note that you should not put your most securest information in that Dropbox sync, there are probably multiple "points" where someone in the worst case could get hold of that information so only use it for information that basically is not of interest for anyone and more or less public information anyway.

*) I fired up an Amazon image for this which costs me about $50 a month (Linux/UNIX Standard Medium Instance, 3.75 GB memory, 2 EC2 units, 410GB)

  • Thanks a lot! Actually, I have Python support on GoDaddy so it wasn't a problem to implement the solution you suggested! – Grigory Yaroslavtsev Jun 2 '13 at 5:13
  • Ah its good to know/remember that it works on GoDaddy als – edelwater Jun 2 '13 at 11:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.