Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
What's wrong with having to go to its ip to see the Web page? That's how webservers work
-
@ScribeOfGoD no nothing wrong with that, i just wanted to redirect any request to that page, to be easier for user to go to the right page
-
@skytsunami you do that in your computers host file. Like...
127.0.0.7 google.com
Would redirect all requests from that computer to google.com
You could also use a domain name, point the dns to your home ip then forward the port in your router to that computer -
@ScribeOfGoD i wanted that process to be dobe on the ESP8266 capturing any address you type in has this type of things built in using LUA...
Ex:
dnsServer.start(DNS_PORT, "*", apIP) ;
I was wondering if there is anything like this using the Espruino codebase. -
drRoss48808y@Linux I'm not too sure either. His original post makes it sound like he wants all requests to the internet on a network to go to that web server..?
Related Rants
! Rant
Recently received my ESP8266 and for bad or for worse quickly flashed it to use thingsSDK and espruino.
I have setup a webserver on it but at the moment you need to go to its local ip to see the page, does any one have tryed this before and overcome to redirect all requests to that page? Any ideas are welcome, i know this can be done easly with LUA but cant code LUA, yet...
undefined
esp8266
lua
js
espruino
nodemcu
thingssdk