The nearest train station Turetam is located only 2km away from Baikonur. You can reach there by the night train from Almaty to Shymkent. These trains stop at this station.