Report this

What is the reason for this report?

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

Posted on February 5, 2020

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?



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!

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.
0

Accepted 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.