The idea came to Michael D’Agostino as he was driving past a beautiful farm and imagined what it would be like to camp there, according to an Associated Press report.

“It was a lightning-bolt moment,” said D’Agostino, who left his job in finance three years ago to launch the startup Tentrr, which matches landowners looking for extra cash with vacationers yearning for solitude under the stars. Think of it as Airbnb for the great outdoors.

Since it began, Tentrr has spread from a smattering of campsites in New York’s Catskill Mountains to nearly 500 sites across the Northeast.

Backed by $15 million in venture capital, the New York City-based company is aiming to expand across the country, with sites opening soon in southern California.

Here’s how it works: A farmer or other landowner with a secluded and scenic spot that would make a lovely campsite pays Tentrr $1,500 to outfit the camp with a white safari tent and other gear and list it online. The landowner receives 80% of bookings, which cost upward of $100 per night.

“We get about 60 inquiries a day from people who want to have campsites on their property. We’re building them as fast as we can,” said D’Agostino. “But before we accept a site, we send a scout with a 20-point checklist.”

The site must be accessible and spacious, generally about 12 acres. It must be quiet, private and steeped in natural beauty, whether fragrant forest, mountain vista, waterfall or placid pond.

“We look for a ‘wow’ factor where you’re going to be overwhelmed by the place,” said D’Agostino, who lives in Manhattan and has a Tentrr site near his upstate weekend home 110 miles north in rural Bovina.