ESP8266 Developer Zone The Official ESP8266 Forum 2016-02-29T05:11:11+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=1810 2016-02-29T05:11:11+08:00 2016-02-29T05:11:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1810&p=5856#p5856 <![CDATA[Re: SoftAP TCP Server Host Name]]> Statistics: Posted by tilz0R — Mon Feb 29, 2016 5:11 am


]]>
2016-02-24T16:06:42+08:00 2016-02-24T16:06:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1810&p=5816#p5816 <![CDATA[SoftAP TCP Server Host Name]]>
I am trying to build a web server using ESP8266. To achieve this I have done the following :
1. Set WiFi Mode = 2 ( CWMODE = 2 )
2. Configured it as acccess point. ( CWSAP)
3. Configured the TCP Server.

When i type the address IP address of the host ( received by printing AT+CIFSR) , i can see the HTML page in my browser.

My question is : Is it possible to attach a host name here , so that I can type a host name in the browser address bar instead of an IP address to access the same page ?

e.g. Currently i type 192.168.4.1 in the browser address and I see my HTML page. Instead of this I would like to do : http://myserver.here or myserver.local.
Is this possible ?

Thanks ,
SKC

Statistics: Posted by onlineskc — Wed Feb 24, 2016 4:06 pm


]]>