This means that the page that’s using the Geolocation API call must be served from a secure context such as HTTPS.
See this article for details: https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only
If you need a free SSL Certificate, you can get it from here: https://letsencrypt.org/
DirectAdmin has "Let's encrypt" support from a couple of months and cPanel is about to release the update of panel service for these certificates soon.
There is also a free alternative from StartCom.
They offer free SSL certificates and free email encryption certificates for worldwide subscribers.
There are currently more than 400,000 websites secured by StartCom SSL certificates in order to secure the website confidential information.