The original usage applies to the coaching inn for princes and ecclesiastics with the word being similar to modern Russian gost (гость),  "guest".
The coaching inn's initial application was similar to the modern Russian word "gost" (гость), referring to accommodations for important figures like princes and ecclesiastics.