By stockdizzle
I’ve spun up a WP droplet on Ubuntu–easy. How do I actually get my code onto the server? From what I understand I can either upload it using Cyberduck (Filezilla isn’t working for me–an outdated tutorial perhaps?), or push in from my Bitbucket repo, but I have found zero tutorials on this so far.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
FileZilla works fine for uploading files to a droplet. You can also use scp directly.
@stockdizzle - For Filezilla, take a look here (I created a few screenshots to help you get things configured).
The first screenshot is of the Site Manager. The first box is where you’ll enter your Droplet Public IP. The box directly to the right is the Port that the connection will attempt to open on. Below the first two boxes you’ll find Protocol, which will allow you to select FTP or SFTP
Screenshot #01
root unless you have created another user to login with (which is advised, you really shouldn’t be logging in as root or using password authentication – using an SSH Key with a pass code on top is the recommended method).root password sent to your e-mail address.If you’ve already created an SSH Key or plan to, then screenshot #02 will help you to add that SSH Key to Filezilla so that it can be used to connect to your Droplet.
–
Screenshot #02
The Settings menu can be found under Edit -> Settings.
If the Private Key is not in PPK format (standard with SSH Keys generated by PuTTyGen – link below), Filezilla may ask you if you want to convert – click yes as Filezilla will only accept the Private Key in PPK format (Filezilla will handle the conversion for you).
Once the key is added, you’ll see it in the list and you can click on the OK button to close out of the settings menu. At this point, you’ll want to remove the password that was set when configuring your site in the Site Manager (simply select it all, hit delete - don’t add any spaces). The Host, Port, Protocol and Username do not need to be modified.
You should, at this point, be able to hit enter and it’ll ask you to authorize the connection – do so. If you set a pass code on your Private Key, it’ll then ask you for that and once confirmed, it’ll connect.
–
From there, you’ll simply need to navigate to the directory where your files are stored from the right side (the left side will be your local computer directories).
If you are using a password for your root user (rather than ssh-keys) you can set up an SFTP connection in Cyberduck. I am on Linux myself so cannot check what names Cyberduck uses for specific fields but this should help:
server/host: Your droplet’s IP user: root password: your root user’s password
If there is an option for default directory you can set it to /var/www/html which is the web root. If you don’t, you will start out in /root. From there you can change up a directory to / and navigate to /var/www/html and upload your files where you need to within the WordPress file structure.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.