{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/1858","repository_url":"https://api.github.com/repos/Mashape/kong","labels_url":"https://api.github.com/repos/Mashape/kong/issues/1858/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/1858/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/1858/events","html_url":"https://github.com/Mashape/kong/issues/1858","id":192535693,"number":1858,"title":"Default request host","user":{"login":"robertlacok","id":3392654,"avatar_url":"https://avatars.githubusercontent.com/u/3392654?v=3","gravatar_id":"","url":"https://api.github.com/users/robertlacok","html_url":"https://github.com/robertlacok","followers_url":"https://api.github.com/users/robertlacok/followers","following_url":"https://api.github.com/users/robertlacok/following{/other_user}","gists_url":"https://api.github.com/users/robertlacok/gists{/gist_id}","starred_url":"https://api.github.com/users/robertlacok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertlacok/subscriptions","organizations_url":"https://api.github.com/users/robertlacok/orgs","repos_url":"https://api.github.com/users/robertlacok/repos","events_url":"https://api.github.com/users/robertlacok/events{/privacy}","received_events_url":"https://api.github.com/users/robertlacok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-30T10:58:45Z","updated_at":"2016-11-30T19:55:13Z","closed_at":null,"body":"### Summary\r\n\r\nWe use kong to route traffic to different apis using different request hosts, i.e. api-1.domain.com. However, when we try to access api-which-isnt-added.domain.com (basically any other prefix) kong routes traffic to a one of the added apis, as if it selected one by default. We would prefer a 404 message. \r\n\r\nIs this expected behaviour? Is there a way to set this up?\r\n\r\n\r\n### Additional Details & Logs\r\n\r\n- Kong version 0.9.5  \r\n- Deployed on Kubernetes in GKE  "},"comment":{"url":"https://api.github.com/repos/Mashape/kong/issues/comments/263977209","html_url":"https://github.com/Mashape/kong/issues/1858#issuecomment-263977209","issue_url":"https://api.github.com/repos/Mashape/kong/issues/1858","id":263977209,"user":{"login":"thibaultcha","id":1125431,"avatar_url":"https://avatars.githubusercontent.com/u/1125431?v=3","gravatar_id":"","url":"https://api.github.com/users/thibaultcha","html_url":"https://github.com/thibaultcha","followers_url":"https://api.github.com/users/thibaultcha/followers","following_url":"https://api.github.com/users/thibaultcha/following{/other_user}","gists_url":"https://api.github.com/users/thibaultcha/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaultcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaultcha/subscriptions","organizations_url":"https://api.github.com/users/thibaultcha/orgs","repos_url":"https://api.github.com/users/thibaultcha/repos","events_url":"https://api.github.com/users/thibaultcha/events{/privacy}","received_events_url":"https://api.github.com/users/thibaultcha/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T19:55:13Z","updated_at":"2016-11-30T19:55:13Z","body":"@robertlacok Maybe you registered your API with a wildcard domain: `*.domain.com`?"}}
{"actor":{"display_login":"thibaultcha"}}