404 page and ALLOWED_HOSTS settings for dev and prod