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

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.