change server validation regexp by one that allows domain names too.