FIX: localhost needs to be in allowed hosts for sed to replace it with domain name