2

I want to sync my WWW folder with dropbox. How can I do that ?

I am using Ubuntu server 12.xx something. This for development purpose only.

I goggled it but I was unsuccessful

5
  1. If you want X folder in dropbox (~/Dropbox/X) to act as your www root folder, edit /etc/apache2/sites-available/default and replace /var/www/ with /home/<username>/Dropbox/X. Make sure that files inside the X folder are readable by www-data user.

  2. If you want to add /var/www/ to your Dropbox, and keep it synced, create a symlink inside ~/Dropbox/ to point to /var/www

    cd ~/Dropbox
    ln -s /var/www www
    

    (You might wanna chown the www folder, so as to add files to it, without using root.

| improve this answer | |

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.