Sodom and Gomorrah is myth. To be honest some aspects of Old Testament law is so harsh and cruel that it clearly doesn’t come from God but from men of an ancient society.
If there is any law as far as conduct goes it’s found in The Sermon on the Mount.
Jesus mentioned Sodom and Gomorrah specifically on multiple occasions, by name:
Matthew
10:15 Verily I say unto you, It shall be more tolerable for the land of Sodom and Gomorrha in the Day of Judgment, than for that city.
11:23 And thou, Capernaum, which art exalted unto heaven, shalt be brought down to hell-fire: for if the mighty works, which have been done in thee, had been done in Sodom, it would have remained until this day.
11:24 But I say unto you, That it shall be more tolerable for the land of Sodom in The Day of Judgment, than for thee.
Also in Mark 6:11, Luke 10:12, and 17:29-30:
17:29 But the same day that Lot went out of Sodom it rained fire and brimstone from heaven, and destroyed [them] all.
17:30 Even thus shall it be in the day when the Son of Man is revealed.
As well as in Revelation, the Qur'an and it is also mentioned in many other books.
People today claim that it is a myth, because of not wanting to believe it. Society has gotten so bad and out of control, with the widespread loss of decency and decay of morality, that many people today think of things that are not normal, as if they were normal or acceptable, when they are not (right and wrong does not change with fashion, it always stays the same).
It may very well be that the location of the Dead Sea is where Sodom and Gomorrha used to be located, as many people today seem to believe. It does seem to potentially make a lot of sense, since the cavity in the ground that has now filled up with salty water, could have been created by the energy impact from the MASSIVE BLAST (that came from above) and that took them out. The name of it, being the "Dead Sea", would also be quite interesting, if that really is the location, considering.
Sodom and Gomorrah is also mentioned in the Dead Sea Scrolls, in a very detailed and interesting way. (Will post that if found, have to look for it).