Most often used in the set phrase 路頭に迷う (to be homeless, to be stranded). Outside of this phrase, it is a somewhat literary term for the side of a road.
More people are losing their jobs and ending up homeless.
I stood by the roadside and watched the people passing by.