Was the Civial War and the Spanish similiar because they were both fought on us soil.

No. The Spanish-American War was not fought in the U.S.