Need to access web files via FTP or cPanel or something to add code to the site

We are looking to add in a snippet of code to our site, from Google Merchant, to verify our ownership of the site itself.

Our IT dept is not familiar with how digitalOcean is set up to access individual web files and/or pages, where we would need to input either HTML or JS or whatever is required to confirm our site ownership from google supplied code.


Submit an 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.

Thanks or the asnwer!

you’ll need to find out where your website files are, for apache, you might check /etc/apache2/sites-available/000-default.conf, so ssh, cat /etc/apache2/sites-available/000-default.conf and see where your http directory is for the website. Then cd into that directory and use nano to create the file and copy paste content from provided google file.

again, it’s a bit technical, you might want your IT to do this.

by the way, we are building much more user friendly version of server control panel, that you can connect all of your servers to and use user friendly UI to do all this. We are going into beta soon, be sure to sign-up to our mailing list if you’d like to try out beta for free and give feedback.