Improved host helpers for different servers (nginx+apache2/apache2)