I am taking over our WP website project and need to get the source code. How can I get the code out of DO?
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!
Hi @jbaird,
You’ll need to enter your account via this link - https://cloud.digitalocean.com/login . From there you can actually reset the root password for your droplet if you don’t know it.
Once you are in, you can get to the DocumentRoot of your domain and use either Rsyc/SCP or FTP to download the code.
If you don’t know where is the DocumentRoot of your website, you can get it by following these steps :
First determine which Web Service you are using by executing the following command
netstat -tulpen | grep 80
It is most probably going to be either Apache or Nginx. Both should be located in the following directories /etc/apache2 or /etc/nginx. From there find your conf.d folder and go in. There you’ll see your website’s virtual configuration file. In it, you’ll be able to see the DocumentRoot
Regards, KDSys
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.