John McElroy?s property in Altnagelvin is listed in Griffiths Valuation for 1858. It was plot 11, which was a farmhouse, outbuildings and about 10 acres, rented from John Adams. The revaluation records show that he was replaced by John Arthur in 1876 (not Joseph Adams). The property today is on the east side of the Glenshane Rd, at the junction with Daly?s Brae. It appears to be adjacent to the Altnagelvin Hospital complex, and seems likely to have been demolished. There?s a Grovemount Park estate in Altnagelvin which appears to occupy most of the farmland of Grovemount farm.
I note that you think John McElroy might have moved to Scotland. Nevertheless I searched for a death for John McElroy 1873 to 1880. There?s just one who died on 30th May 1874. Est year of birth 1804. You might want to look at that to see if it relates to the Altnagelvin McElroy family. You can view it on the GRONI site for ?2.
https://geni.nidirect.gov.uk
Griffith?s clerks were often a year or two late in catching up with deaths and changes of tenants so the name change in 1876 probably fits quite well with a death in 1874.
Though Joseph Adams? address on the marriage certificate is given as Glasgow, that doesn?t mean he was born there (though he might have been). It just means he was living there when he married. Tradition was to marry in the bride?s church so it would be natural for him to marry in Derry, wherever he came from or lived. However in order to have met her, I would suspect he originated in Derry and was simply in Glasgow for work (as was half the population of Co Derry). You could have a look for him in the 1851 census on Scotlandspeople, in the Glasgow area, but if he?s not there, that might mean he had not yet arrived from Ireland.
No Adams or McElroy families in Altnagelvin in the 1901 census.
I wonder if this might be some of the family in 1901:
http://www.census.nationalarchives.ie/pages/1901/Londonderry/Waterside/Ardnabrockey/1539330/
I can see that Thompson Adams was the tenant of plot 3b(a) in Ardnabrockey until around 1901. It was a house, outbuildings and a 1 acre garden. Ardnabrockey is just beside Altnagelvin (It?s the next townland east). Henry McElroy was on plot 2 in 1858 so there looks to have been a family connection with that townland. Plot 3 today is between the modern Drumahoe Rd and the Ardlough Rd.
Here?s the abstract of a McElroy who died intestate:
Letters of Administration of the personal estate of Andrew M'Elroy late of Ardnabrockey County Londonderry Farmer who died 17 April 1885 at same place were granted at Londonderry to Michael M'Elroy of Ardnabrockey Farmer the Brother. Effects ?642