The house owes its stunning coastal views to its rich history