Hi ,
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
SoftAP TCP Server Host Name
Re: SoftAP TCP Server Host Name
Postby tilz0R » Mon Feb 29, 2016 5:11 am
This job is done by DNS server.
Who is online
Users browsing this forum: No registered users and 189 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.