dynamically change active link in domain-server navbar