Borrowed from Latin ostiārius, from ostium (“door, entrance”). See usher, which may be a doublet.
Practice speaking and memorizing "ostiary" and many other words and sentences in English.