Supports hostname even without preuploading assets