hostel / hostile are similar-sounding terms with different meanings (referred to as homophones). To better understand the differences, see below for definitions, pronunciation guides, and example sentences using each term. 👇
hostel: (noun) a hotel providing overnight lodging for travelers. (noun) inexpensive supervised lodging (especially for youths on bicycling trips).
hostile: (noun) troops belonging to the enemy's military forces. (adjective) characterized by enmity or ill will. (adjective) not belonging to your own country's forces or those of an ally. (adjective) impossible to bring into friendly accord. (adjective) very unfavorable to life or growth. (adjective) unsolicited and resisted by the management of the target company ( used of attempts to buy or take control of a business).
hostel: hh·AA·s·t·ah·l
hostile: hh·AA·s·t·ah·l
(Examples are Wikipedia snippets under the CC ShareAlike 3.0 license. Definitions drawn from WordNet.)