Dorinda Medley’s lucrative real-estate hustle jeopardized by ‘RHONY’ axe

Page Six is told that Dorinda Medley stands to lose more than just her Bravo paycheck after getting axed from the “Real Housewives of New York City” earlier this week.

We’re told that — thanks to her role on “RHONY” — Medley made a particularly sweet real estate deal that allowed her to live rent-free in a $10,000-a-month apartment, while also banking around $10,000 every month. According to sources, in 2017, a couple of years after she joined the cast, Medley signed a contract to live in a three-bedroom apartment in the tony Oriana building on Sutton Place in return for promoting it.

At the time, The Post’s Jennifer Gould reported that such apartments in the building rented for $9,550- to $10,240-a-month. And then she put the Upper East Side condo she owns up for rent. Again, Gould reported at the time that the East 87th Street two-bedroom was being offered for $9,950 monthly.

Sources say that her team then came up with ways to get the apartment featured on the Bravo show, like throwing Valentine’s and Halloween parties there and making arrangements for the show to get permission to film there. “She did a great job getting attention for the place,” said an insider. “The property company were very happy with it.”

Medley still lives in the building, but the source says that they’re not aware if, or how, the deal was renegotiated after the initial one-year contract was signed. We’re told it wasn’t a condition of the deal — which was brokered by a company called Talent Resources — that it had to be in the show, but she did have to show it off on social media. Bravo’s Web site also did a video tour of the home earlier this year.

“She’s a very shrewd business person,” added a source close to the deal. “She’s very good at leveraging her platform.”

It remains to be seen whether Medley can keep up that kind of public profile after leaving the show. We’re told the same company has done similar deals for Lindsay Lohan and tennis champion Serena Williams.

Talent Resources and a rep for Medley declined to comment.