There is a hill named Ramagiri located at 25 km from Hosdurg. Shri Ram had worshipped Lord Shiva at this place while on his way to Lanka. That’s why the hill is known as Ramgiri and the temple is called Rameshwar.
Valmiki Ramayana 7/4/9 to all chapters on wards. Manas 5/34/4 to 5/34 Chhand 2.