change hostname on localhost for Twig