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

February 12, 2019 387 views
Control Panels

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.

2 Answers

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 ZoomAdmin.com, 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.

Have another answer? Share your knowledge.