On what basis would it be illegal? Does that site have an obligation to serve you? Are they not serving you because of your membership in a protected class in their jurisdiction?
It would be illegal if it was against the law. If the government in a jurisdiction the site operates in decided to make that the case then it would be illegal.