iRacing.com is the main destination. It runs NASCAR Cup, Truck, and several other series in online competition against drivers around the world.
Be prepared for the cost of entry. The membership is a subscription rather than a one-off purchase, and you will want a steering wheel controller — Logitech wheels are the common recommendation — plus a machine that can hold a stable frame rate. The tracks are laser-scanned, so the bumps and camber you feel match the real circuits, and that fidelity is a large part of why the service is priced the way it is. The platform grew out of NASCAR Racing 2003 and was built by the same studio.
It is a serious simulation rather than an arcade racer. Dale Earnhardt Jr. is among its well-known users, which tells you something about the target audience.