Hello
is it possible to program my esp8266 so that I can upload the data to a website so that I can read it from anywhere, i.e. not only when I am connected to the same wifi but also, for example, when I am on the move and then want to read the data via mobile data, i.e. access the website.
Sure, one of the popular ways to do this is to create a php web page with a MySQL/MariaDB backend and have the ESP8266 upload its data into the database. There's a convenient library for creating direct TCP connections from an ESP to MariaDB; I used it in a test setup for a while and it worked very nicely. It doesn't matter where the website and database are hosted as long as the ESP can reach it from the network it's connected to.