changed domain to server variable