Alaris

Alaris is a planet in the Milky Way Galaxy. The planet was trapped in a time loop, along with thirteen other planets, including Earth and P4X-639. 
This would mean that Alaris is relatively close to Earth. This was the planet SG-12 explored during that time. When O'Neill and Teal'c were the only ones to notice the time loop, they played golf through the Stargate, thinking they would achieve the record for longest drive.