Derbent (Russian: Дербе́нт dyeer-BEHNT) is a 5,000 year old city in Dagestan and a UNESCO World Heritage site. It is the location of the mythical "Gates of Alexander," and easily one of the most impressive historical sites in Russia.
There are two daily communter trains from the regional capital of Makhachkala, one departing 10AM and another departing 5:20PM, journey time is around three hours. Long-distance trains heading to and from Baku makes a stop-over here. From Moscow there are departures on Mondays, Thursdays and Saturdays, leaving from Moskva Paveletsky station at 6:05PM and arriving two nights later at 6:40PM. A second class sleeper ticket costs around 3,500 RUB. Other Russian cities with rail connections includes Saint Petersburg (59 h), Rostov-on-Don (25½ h) and Yekaterinburg (64 h). International connections includes Kiev (56 h) and Minsk (65 h).