enable single label hostname
enable single hostname with named constructor