Host name can now contain dashes and dots

A simple fix to allow hostnames with more than just alphanumeric characters as it was getting annoying having to rename them after being built.