ESP8266 Web Server

Hello, i have an arduino nano and a esp8266 wifi module.
I want to create a wifi web server using esp8266 sending a html page, interacting with the client and controling some arduino pins through a browser.
First of all is it possible to do that and if it is can someone provide me some examples, sourse code, libraries etc?


WebServer example is what you want.

An ESP8266 server to control multiple pins can be done on the cheap $3.56 without Arduino.
Using this ESP8266 board and this firmware.
For doing it with an Arduino read this tutorial.