generalize serverurl