Send request to ESP8266 from PHP page
Posted: Tue Oct 02, 2018 5:31 am
Hello!
I was wondering how can i send a request from a hosted php page (not local) to my esp8266 ?
I have used GET command on ESP to read something from my php page. But i don't want to make so many reads from php page. I want to do something with my ESP when a request comes from my php page.
Tried solution:
I have read some articles about makeing ESP8266 a server, connect it to the internet via router, port forward configuration for it and then make a Dynamic DNS through some specialized sites(ex: No-ip).
This worked, but now, after i've bought a domain and a hosting with database... i want to use my own DNS for this(to somehow map my local IP address with my own domain names not with the names provided by my router).
How to do that?
Any ideas or articles to read that should resolve my problem ?
Thank you!
I was wondering how can i send a request from a hosted php page (not local) to my esp8266 ?
I have used GET command on ESP to read something from my php page. But i don't want to make so many reads from php page. I want to do something with my ESP when a request comes from my php page.
Tried solution:
I have read some articles about makeing ESP8266 a server, connect it to the internet via router, port forward configuration for it and then make a Dynamic DNS through some specialized sites(ex: No-ip).
This worked, but now, after i've bought a domain and a hosting with database... i want to use my own DNS for this(to somehow map my local IP address with my own domain names not with the names provided by my router).
How to do that?
Any ideas or articles to read that should resolve my problem ?
Thank you!