Using a custom domain with a funnel is actually quite simple—you just create a tracking link with the Primary URL set to the entry link of your funnel. When you create your tracking link, choose the custom domain that you want to use.
There are a couple of common mistakes people make when setting up a tracking link with a funnel. For an explanation of how to do this properly—and the mistakes to watch out for—simply follow this guide: