Chess960 is the most popular variant of chess invented by Bobby Fisher. It uses the same rules as standard chess, but the pieces on white and blacks back ranks are shuffled.
With this app you can generate a random starting position, that follows the requirements, and allows you to show how to castle in the given position.