In the config.py file the following configuration exists:
self.SERVER_NAME = 'localhost:5000'
As per the docs at http://flask.pocoo.org/docs/0.10/config/ - "Note that localhost does not support subdomains so setting this to “localhost” does not help."