Internal mesostructures of silica nanofibers were dramatically changed through controlled interfacial interactions of confined lyotropic block copolymer systems in nanocylinders, which were further used as structure-directing templates for the fabrication of porous gold nanofibers with unprecedented nanoarchitectures.