The US has a very long history of racism against minorities. It's been difficult to get a strong system in place to combat racism. Ageism against young people has a built in correction system called aging.
I wouldn't even rule it out entirely, you'd just need references (a decent rating).
The same age group is faced with similar problems renting apartments because they often lack credit ratings and previous references.
Well, for one thing, its not generally expressly prohibited by law.
For example: If I'm American, I might donate to a service that helps American homeless, and would not have donated otherwise if the service was global.
Similarly, If I'm black, I might donate to a service that only helps blacks and would not have donated otherwise. If I'm Caucasian and feel a strong sense of community for my heritage I might do the same, etc.
People feel more sympathy to those they can relate with -- I don't think that will change for many years.
In situations where you're renting a bed or a room in a shared common space — I don't think it's unreasonable to be more selective about gender. Is it discriminatory for colleges to not group men/women together in dorm room?
Again, look at the severity disparity here:
would it be socially acceptable for a woman to say "I don't want a male roommate?"
would it be socially acceptable for a white person to say "I don't want a black roommate?"
No, but that's not relevant. The correct analogy would be "Is it discriminatory for colleges to refuse residence to one gender?" That said, I respect the right of anyone to choose who they let into their home, even if I might disagree with the criteria.
Discriminating by age could be considered reasonable (don't want a large group of college students) and I see valid reasons to discriminate by gender (Women may not want to book male guests if they're sharing the same space and vice-versa)...
You'd still run into the problem of real-life racists (a problem for minorities everywhere, all the time)... but such a policy would likely eliminate many racists from the site through the frustration of not being able to discriminate.