#3 replace for hostname/port in viewsets