Added a workaround for subdomains on development enviroment, as well as configuring migrations for Apartment