Yes you can use the preposition  "at" while writing the word night.
But the word earth cannot be used without the article "the".And it's becoz when your talking about the word earth then your talking specifically about earth and as we know there is only one when your talking about any  specified thing the article "the" must be used....
Hope tiz helps u...!!plzzz mark it bestttttttttttttt