Question

How do I transfer files from my droplet to the hosting company of a .com address

Posted February 5, 2020 334 views
DigitalOcean Accounts

I have a droplet set up on Ubuntu and I need to upload the site to the company hosting the url. How can I do this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @dcollinsClam,

If you have SSH access to your new hosting you can either use the scp or the rsync command.

Imagine you want to use scp, you’ll need to SSH to your droplet with DigitalOcean.

ssh root@YourDropletIp

Go to the directory you wish to migrate and type in the following command

scp -R DirectoryOfYourWebsite UserOfNewHosting@NewHostingIP:/path/to/where/your/files/will/be/stored

This will ask for the user password of your new hosting.

Regards,
KDSys

Submit an Answer