SoftAP TCP Server Host Name

onlineskc
Posts: 1
Joined: Wed Feb 24, 2016 3:57 pm

SoftAP TCP Server Host Name

Postby onlineskc » Wed Feb 24, 2016 4:06 pm

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

tilz0R
Posts: 38
Joined: Sat Dec 26, 2015 8:36 pm
Contact:

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 2 guests