The Kumbh Mela rotates between four sacred cities - Prayagraj (formerly Allahabad), Haridwar, Nashik (Nasik), and Ujjain - based on specific astrological positions of Jupiter, the Sun, and the Moon. Each city hosts the festival based on zodiac configurations, with the Mahakumbh occurring every 12 years in Prayagraj.