Cities are built where there are demands for cities to be built. They grow around nexus points of travel, gold rushes, or other places that invite entrepreneurs to build them.
Entrepreneurs might create the need for the city, but there has to be some means of sustenance for the city not to become what is called a "Ghost Town".