In this tutorial we learn NodeMCU Web Server request handling and redirect to root location. For more details on creating HTML web Server with ESP8266 Read here.
All web related requests are handled through HTTP protocol. Continue reading ESP8266 handle not found pages and redirect