I’m switching my domain name to another website. How do I go about doing that? Or how can I add my website files to my website on digital ocean?
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.
Heya,
You’ll need to transfer your files over and you can use FTP for that. You can check this article right here:
https://docs.digitalocean.com/products/droplets/how-to/transfer-files/
Having said that, you’ll need to configure your Droplet as well. The best way I think if you don’t have technical knowledge is getting one of the marketplace droplets;
https://marketplace.digitalocean.com/apps/lemp
It will configure everything you need to host your website, just follow the instructions. Once you have it configured, you can use the first article on how to transfer the files over.
Hi there!
If you’re hosting your website on DigitalOcean and want to switch your domain or add your website files, here’s how to do it:
Connect to your Droplet via SFTP (using tools like FileZilla) or SSH. Upload your website files to the appropriate web directory (e.g.,
/var/www/html
for Nginx/Apache).If you want to do this over SSH, you can use Rsync as described here:
If you prefer not to use SSH, you can follow the steps here:
Update your domain DNS records:
A
record pointing to your Droplet’s IPv4 address.CNAME
record forwww
pointing to your domain.Configure Your Web Server:
server_name
in your Nginx config orServerName
in Apache.You can follow the steps here:
Or alternatively use the 1-Click installation from the Marketplace:
Let me know if you have any questions.
- Bobby