Checking if webserver file[vhost] has been defined. Thanks @bonidier!