Getting proper exposure when you have very bright background but a scene with lots of bright and shadows is next to impossible without either using software or, if your camera has the capability, using "High Dynamic Range" (HDR). When you shoot in HDR, you usually want to be on a tripod, Then, when you press the shutter, the camera will actually take three successive images (pr more but three is a standard default). One image will be over exposed to get details in the shadows, the next will be normal exposure, then one more will be underexposed for the highlights. Then the camera will "blend" the images and give you one image that is well exposed across the board. Does your camera have an HDR mode?