It sounds a bit like Lost In Time -
http://www.mobygames.com/game/lost-in-time
You start out on a boat. For part of it, you are on an island with a big mansion and a well in the garden. There is also a lighthouse, and a hut by the sea.
Is this the game you were looking for?

k: