add dot to domain and exclude localhost