    def domain(self):
        """Get the domain for my server."""
        hook = self.settings.get("subdomain_hook", subdomain_hook_legacy)
        return hook(self.name, self.settings['domain'], kind='user')
Get the domain for my server.
jupyterhub/user.py