{"action":"closed","issue":{"url":"https://api.github.com/repos/blueriver/MuraCMS/issues/333","labels_url":"https://api.github.com/repos/blueriver/MuraCMS/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/blueriver/MuraCMS/issues/333/comments","events_url":"https://api.github.com/repos/blueriver/MuraCMS/issues/333/events","html_url":"https://github.com/blueriver/MuraCMS/issues/333","id":3802490,"number":333,"title":"Staging domains not loading the correct site","user":{"login":"danshort","id":44993,"avatar_url":"https://avatars.githubusercontent.com/u/44993?v=3","gravatar_id":"","url":"https://api.github.com/users/danshort","html_url":"https://github.com/danshort","followers_url":"https://api.github.com/users/danshort/followers","following_url":"https://api.github.com/users/danshort/following{/other_user}","gists_url":"https://api.github.com/users/danshort/gists{/gist_id}","starred_url":"https://api.github.com/users/danshort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danshort/subscriptions","organizations_url":"https://api.github.com/users/danshort/orgs","repos_url":"https://api.github.com/users/danshort/repos","events_url":"https://api.github.com/users/danshort/events{/privacy}","received_events_url":"https://api.github.com/users/danshort/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2012-03-26T02:54:50Z","updated_at":"2015-02-13T20:02:15Z","closed_at":"2015-02-13T20:02:15Z","body":"I have an issue with the getDomain method in /requirements/mura/settings/settingsBean.cfc. As it currently stands, when using a mode of \"staging\", it returns the cgi.server_name variable, which while it would seem correct to me, causes all sites loaded on our staging URLs to render the default mura site. If I change the method to return only variables.instance.domain, then all domains render correctly.\r\n\r\nIf I'm doing something wrong, please let me know how I should correctly configure staging instances to render the correct sites. Otherwise, I'd like to request a change to the method to simply return the configured value from the instance."}}