Bhagavad-gītā informs us how to travel to the higher planetary systems (Devaloka) with a very simple formula: yānti deva-vratā devān. One need only worship the particular demigod of that particular planet and in that way go to the moon, the sun or any of the higher planetary systems.