Caravanserai first began to appear in the X century, and for this were all the prerequisites. In medieval times, the Suljuki trade route passed through Turkey and very often trade depended on camel caravans that stayed at night in hotels known as caravanserai, literally “caravan palaces”.
It was a temporary accommodation with all sorts of amenities for merchants and their animals.
Caravanserais first began to appear in Central Asia. First built the fortress called "Ribat", intended for military purposes, later they were completed and used for religious purposes and as hotels.
Their construction noticeably increased during the times of the sultans Kilicarlan II and Alaaddin Keykubat I, who were able to ensure the safety of the trade routes of that time. During this period, both domestic and foreign trade flourished. Thus, the Seljuks, who were already economically powerful, also became politically strong.
In the caravanserai usually stayed for several days. It provided shoe repair services, caring for animals, the sick, the hungry, etc. For religious practice, a small mosque Kosk-Meskid was used, which was located in the center of the courtyard and was the most important part of the caravanserai. Mosques were built on an arched base.
Courtyards were usually surrounded by bedrooms, bathrooms and warehouses. Braziers (braziers) or tandyras (oven in the ground) were used for heating, candles and lamps - for lighting. Such people as a doctor, imam (head of prayer), veterinarian, messenger, blacksmith, cook, etc. could work in the caravanserai. In order to defend the walls were built like the walls of the castle.
The doors were made of iron. Present and symbolism. The most frequently used dragon, lion motifs and floral patterns. In Cappadocia, preference was given to geometric patterns. Caravanserais were usually built along the roads along the path: Antalya - Konya - Kayseri; through Erzurum and Tabriz; from the Black Sea to Iraq via Amasya - Tokat - Sivas - Malatya - Diyarbakir - at a distance of 30-40 km or a daytime camel crossing.
Some of the most beautiful examples of caravanserais can be seen in the Cappadocia region, especially between Aksaray and Kayseri. For example, Sultanhani and Agzikarakhan in Aksaray and Sarikhane in Avanos. Kervan-sarai Cappadocia was built mainly of volcanic stone, and their walls were thick and high enough to ensure maximum safety for travelers.