Please Check your connectivity to devices hop by hop like :
1.End devices to AP
2. then AP to SWitch
3. Switch to WLC
4. WLC to router/firewall and
5. Last router to internet.
6. confirm that DNS is working ok.
7. Confirm that end devices are getting the IP's from pool assigned in DNS
8. refer the following guides:
http://www.cisco.com/c/en/us/support/docs/wireless/aironet-340-series/8117-connectivity.html
https://supportforums.cisco.com/document/51626/wifi-troubleshooting-cheat-sheet