By moving his court and government to Versailles, Louis XIV hoped to extract more control of the government from the nobility, says Wikipedia. It also gave him distance from the population of Paris.
All the power of France emanated from this center: there were government offices here, as well as the homes of thousands of courtiers, their retinues, and all the attendant functionaries of court (Solnon, 1987). By requiring that nobles of a certain rank and position spend time each year at Versailles, Louis prevented them from developing their own regional power at the expense of his own and kept them from countering his efforts to centralise the French government in an absolute monarchy (Bluche, 1986, 1991; Bendix, 1978; Solnon, 1987).
The meticulous and strict court etiquette that Louis established, which overwhelmed his heirs with its petty boredom, was epitomised in the elaborate ceremonies and exacting procedures that accompanied his rising in the morning, known as the Lever, divided into a petit lever for the most important and a grand lever for the whole court. Like other French court manners, étiquette was quickly imitated in other European courts (Benichou, 1948; Bluche, 1991; Solnon, 1987).
The expansion of the château became synonymous with the absolutism of Louis XIV (Bluche, 1986, 1991). In 1661, following the death of Cardinal Mazarin, chief minister of the government, Louis had declared that he would be his own chief minister. The idea of establishing the court at Versailles was conceived to ensure that all of his advisors and provincial rulers would be kept close to him. He feared that they would rise up against him and start a revolt. He thought that if he kept all of his potential threats near him, that they would be powerless.
After the disgrace of Nicolas Fouquet in 1661 — Louis claimed the finance minister would not have been able to build his grand château at Vaux-le-Vicomte without having embezzled from the crown — Louis, after the confiscation of Fouquet’s state, employed the talents of Le Vau, Le Nôtre, and Le Brun, who all had worked on Vaux-le-Vicomte, for his building campaigns at Versailles and elsewhere.