{"action":"created","issue":{"url":"https://api.github.com/repos/dokku/dokku/issues/2276","repository_url":"https://api.github.com/repos/dokku/dokku","labels_url":"https://api.github.com/repos/dokku/dokku/issues/2276/labels{/name}","comments_url":"https://api.github.com/repos/dokku/dokku/issues/2276/comments","events_url":"https://api.github.com/repos/dokku/dokku/issues/2276/events","html_url":"https://github.com/dokku/dokku/issues/2276","id":162475642,"number":2276,"title":"Multiple Hostnames","user":{"login":"xadh00m","id":1651999,"avatar_url":"https://avatars.githubusercontent.com/u/1651999?v=3","gravatar_id":"","url":"https://api.github.com/users/xadh00m","html_url":"https://github.com/xadh00m","followers_url":"https://api.github.com/users/xadh00m/followers","following_url":"https://api.github.com/users/xadh00m/following{/other_user}","gists_url":"https://api.github.com/users/xadh00m/gists{/gist_id}","starred_url":"https://api.github.com/users/xadh00m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xadh00m/subscriptions","organizations_url":"https://api.github.com/users/xadh00m/orgs","repos_url":"https://api.github.com/users/xadh00m/repos","events_url":"https://api.github.com/users/xadh00m/events{/privacy}","received_events_url":"https://api.github.com/users/xadh00m/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dokku/dokku/labels/type:%20enhancement","name":"type: enhancement","color":"09ab3c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-27T15:09:30Z","updated_at":"2016-06-28T14:16:04Z","closed_at":null,"body":"We have a dokku server and can reach it via two distinct hostnames configured in our DNS server. It seems to be not supported yet to declare two hostnames in dokku. Although this works:\r\n```\r\ndokku domains:set-global \"foo bar\"\r\n```\r\nIt does not create the correct hostnames for apps when calling:\r\n```\r\ndokku domains:disable myApp && dokku domains:enable myApp\r\n```\r\nThe global domain is treated as one domain string. This leads to the app hostnames:\r\n```\r\ndokku domains myApp\r\n=====> Global Domain Name\r\nfoo bar\r\n=====> myApp Domain Names\r\nmyApp.foo bar\r\n```\r\n\r\nIs this feature something Dokku should support? AFAIK the relevant functionlity is in `dokku/plugins/enabled/domains/functions`.\r\nWould you be interested in a PR for this? Any hints how this feature should be incorporated and which edge cases need to be considered?\r\n\r\nThanks,\r\nMirko\r\n"},"comment":{"url":"https://api.github.com/repos/dokku/dokku/issues/comments/229062273","html_url":"https://github.com/dokku/dokku/issues/2276#issuecomment-229062273","issue_url":"https://api.github.com/repos/dokku/dokku/issues/2276","id":229062273,"user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T14:16:04Z","updated_at":"2016-06-28T14:16:04Z","body":"Yeah I meant remove."}}
{"actor":{"display_login":"josegonzalez"}}