How To Get Scene Like This Image? (Exponential Hight Fog)

So I found an image and I want to create a world based on it. I’m using exponential height fog to try to get the effect, but it makes the sky and background green. Is there a way the sky and background can be black (as this is at night) without the rest of the world being affected.

Hi, I recommend you watch this video.

He explains how it works.