An ostomy appliance (20) including a wafer (22) having a first opening (3) configured to be attached to a skin surface (S) around an ostomy (O) of a user, and a bag (34) for collecting stomal output that includes an adhesive flange (42) configured to engage with the peristomal skin surface around the ostomy through the first opening in the wafer.