Yogyakarta is located in the south of Mid-Java and is related to the historical kingdom of Mataram.
The principal residence of the sultan is the kraton (palace), sometimes called the Yogyakarta Kraton.

While the city spreads in all directions from the Sultan’s palace, the core of the modern city is to the north, centering on Old Dutch buildings and the commercial district. Jalan Malioboro with rows of pavement vendors and nearby market and malls is the primary shopping street for tourists in the city. Jalan Solo, further north, is a shopping district frequented used by locals. At the southern end of Malioboro, on the east side is the large local market of Beringharjo, not far from the old historical Fort Vredeburg, a restored Dutch fort.
Nearby to the city of Yogyakarta is the most active volcano mount Merapi in Indonesia and has erupted on regular bases. The northern outskirts of the city of Yogyakarta has been grown all the way up to the southern slopes of this mountain.