ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By kriegste
#21427 I run my module in station mode, not ap mode. This is esp-link default. Windows is using standard settings. For what I'm up to it is important that the module works "out of the box".

Ajax log is commented out, yes. I use uart to control my uC application. I even have to completely disable the uart log function or the uC runs amok. I guess this is very subjective. In the end everyone will modify it to their needs anyway.
User avatar
By tve
#21465 I have to admit I have not looked into how this dynamic DNS through DHCP stuff works... I just call the Espressif SDK's set-hostname function.
I believe you may have to use esp-link.local ? I use a '.com' domain at home and so it ends up becoming esp-link.example.com and when I use something like http://esp-link it really uses the default domain to make it esp-link.example.com.
User avatar
By kriegste
#21506 Tried that yesterday already, without luck.

Today I found out that adding a "." works. So in Windows I can access the module by typing

http://esp-link.

into the browser. This is weird... and not what I want. I'll go on investigating this...

Edit: I found the reason: There was no local domain set in the router. It is set to "local" now and now I can ping "esp-link.local" as well as "esp-link" from Windows. Nice!
Last edited by kriegste on Wed Jun 24, 2015 11:07 am, edited 1 time in total.