Do not trust machine translators.
が is the subject marker, whereas どこ is not the subject of ある. That's why it's ungrammatical.
Both どこですか and どこにありますか are asking about the location since the copula and the verb ある express existence. There is no difference, as I said.