Lord Shiva has been worshipped in linga form from time beginning as described in answer here. Godesses Saraswati in Linga Purana states:
सर्वं लिंगमयं लोकं सर्वं लिंगे प्रतिष्ठितम् ।
तस्मात्सर्वं परित्यज्य स्थापयेत्पूजयेच्च तत् ।।
The whole world is identical with the Linga. Everything is founded on the Linga. Hence, one shall eschew everything, install the Linga and worship it.
The above verses itself establishes glory of Linga. Among the Lingas also there are 12 major Jyotirlingas which are most important. Shiva Purana in Koti Rudra Samhita, DwadashaJyotirlinga Mahatmya Chapter sates:
सौराष्ट्रे सोमनाथं च श्री शैले मल्लिकार्जुनम् ।
उज्जयिन्यां महाकालमोंकारे परमेश्वरम् ।।
केदारं हिमवत्पृष्ठे डाकिन्यां भीमशङ्करम् ।
वाराणास्यां च विश्वेशं त्रयम्बकं गौतमीतटे ।।
वैद्यनाथं चिताभूमौ नागेशं दारुकावने ।
सेतुबन्धे तु रामेशं घुश्मेशं च शिवालये ।।
द्वादशैतानि नामानि प्रात्यस्त्थाय यः पठेत् ।
सर्वपापविनिर्मुक्तं सर्वसिद्धिफलं लभेत् ।।
Somanath in Saurastra, Mallikarjuna in Shri Saile, Mahakala in Ujjaiyana and Parameshawara also manifested as Omkara. Kedara in Himavat and Bhima Shankara in Dakinya. Vishewaswara in Varanasi and Trayambaka in side of Gautami. Vaidyanath in ChitaBhumi and Nageshwara in forest of Daruka. Rameshwara in Setubandha and Ghusmeshwara in Shivalaya. These name of 12 Jyotirlingas who recites in morning, he gets freed from all sins and is eligible to get all Siddhis.
There are twelve Jyotirlingas mentioned in another similar popular Shloka too which is as:
Saurāṣṭre Somanāthaṃ ca Śrīśaile Mallikārjunam
Ujjayinyāṃ Mahākālam Omkāram Mamleśhwaram
Paraly Vaidyanāthaṃ cha Ḍākinyāṃ Bhīmaśhaṅkaram
Setubandhe tu Rāmeśaṃ Nāgeśhaṃ Dārukāvane
Vārāṇasyāṃ tu Viśveśaṃ Tryambakaṃ Gautamītaṭe
Himālaye tu Kedāraṃ Ghuśmeśaṃ ca Śivālaye
etāni jyotirliṅgāni sāyaṃ prātaḥ paṭhennaraḥ
saptajanmakṛtaṃ pāpaṃ smaraṇena vinaśyati
The first Jyotirlinga mentioned is Somanatha Jyotirlinga. I want to know, what is the story of formation of Somanath Jyotirlinga? Why Lord Shiva manifested himself in Somanath Jyotirlinga? And how this Jyotirlinga get its name?
Please mention the scriptural reference.
Somanath temple is situated in Saurashtra (Gujarat).
By Anhilwara - Own work, Public Domain, https://commons.wikimedia.org/w/index.php?curid=18227742