Ok so my issue is that my website is hosted using a 3rd party service so I am unable to run geth on the same server as my site. However, I also have a separate VPS which I can setup nodejs and a web3js page or geth to interact with my contracts.
My goal is to call a constant function in my contract and display the result on my website. Is there a way for me to interact with my VPS from my website and call constant functions? Is there a better way to solve my issue?
If I run a node on my vps, am I able to use web3js on my site to call functions? What about transactions?