The correct sentence should be "A school housed in a church is doing well."
The preposition "in" is used to indicate a location or position within something. In this case, the school is located inside a church. Therefore, the correct preposition to use is "in a church."