Purana Jyotisha Sangraha · by Vyasa
Chapter 12 · Prabhasa and the Planet Lingas
स्कन्दपुराणम् : प्रभासक्षेत्रे ग्रहलिङ्गानि
प्रतिष्ठार्थं तु लिंगस्य आनीतश्चाष्टवार्षिकः ।बालरूपी तदा तेन सोमनाथेति कीर्तितम् ॥ ४५ ॥
From the Skanda Purana, print Prabhasa Khanda (Prabhasa-kshetra-mahatmya) ch 22, verse 45.
For setting up the linga, he was brought as a boy of eight. He was then in a child's form, so by him it was named Somanatha.
Simple meaning: The first Moon, as a boy of eight, set up the linga, so it was named Somanatha.
तदाप्रभृति सोमानां लक्षाणां द्वितयं गतम् ।
Since then 202,106 Moons have passed.
सप्तमोऽहं महादेव आत्रेय इति विश्रुतः ।
The Moon, cursed and wasting away, asks Shiva to protect him.
इति संस्तुवतस्तस्य चंद्रस्य करुणाकरः ।
Shiva, pleased by the praise, speaks to the Moon.