The index to the service records of Civil War soldiers is online. Do a search for "soldiers and sailors" to find that NPS database.