Who was the commander of the army of the Confederate states?
General Robert E. Lee, was the commander of the Army of the Confederate States of America. This did not happen until the last year of the war. For most of the war, the South had no overall commander to coordinate the efforts of its various forces.
For most of the war, the Confederates had no overall commander. They were effectively commanded by President Jefferson Davis, an ex-West Point officer, who saw himself as a great General.
Davis's performance, both as a notional General-in-Chief and as a President, showed that he had moved up out of his league.
Much too late, in 1865, he appointed Robert E. Lee to the top job. By then, Lee could do nothing except stay on the defensive until Grant's superior manpower simply wore him down.