Where you go when you're out for the night? (3,4,2,3)

I believe the answer is:
the land of nod
'where' is the definition.
The definition suggests a singular noun which matches the answer.
'go when you're out for the night?' is the wordplay.
I cannot quite understand how this works, but
'go' could be 'do' (doing is a kind of going) and 'do' is found within the answer.
'the' could be 't' (the is pronounced as a 't' sound in some dialects) and 't' is found in the answer.
This may be the basis of the clue (or it may be nonsense).
'you' is the link.
Can you help me to learn more?
I've seen this clue in The Independent.
Want a hint initially instead of a full solution?
Install my app

Connecting...