I'm trying to find out if any of my German ancestors, served in the German military.
Is there any online site that holds listings of the names of soldiers and the year(s) of service?
Genealogy & Family History Stack Exchange is a question and answer site for expert genealogists and people interested in genealogy or family history. It only takes a minute to sign up.Sign up to join this community
There is no such site.
Please bear in mind that „Germany“ was a patchwork of more or less independent states for most of its history. Written records are scattered over archives in different places. A lot of records are lost for a variety of reasons, including war.
You definitely need to focus your research efforts on specific individuals and then plan your research according to this individual‘s home country and period of time.
There is more regarding WWI and WWII here: