adds sample file
uses host name instead of localhost