Versailles is situated 24 km ( 15 miles ) southwest of Paris , by road ( N10 ) ; or by train from Gare St-Lazare to Versailles ; or by RER ( line C5 ) to Versailles-Rive Gauche ; or by metro to Pont de Savres , then bus 171 .
You cannot access Versailles via train from Paris .