you will see this error when you try to add SharePoint Hosted app :
Sorry, apps are turned off. If you know who runs the server, tell them to enable apps.
In order to install an App from the App Store you must setup an isolated App Domain, this is because Apps from the store deploy to their own app domain and run under a separate process from your SharePoint sites.
If your SharePoint site uses the DNS alias http://sharepoint.contoso.com you could have *.apps.contoso.com as your app domain.
How to: Set up an on-premises development environment for apps for SharePoint
Recently I was working on sending mail using smtp server where I stuck on below error: IIS/SMTP - emails are stuck in mailroot/Queue ...
you will see this error when you try to add SharePoint Hosted app : Sorry, apps are turned off. If you know who runs the server, tell them...