Overview
If you're setting up a custom domain on Vercel and receive an "Invalid configuration" message, it usually points to a conflicting DNS record. This issue often occurs when you try to configure both the root domain (mycustomdomain.com) and its www subdomain (www.mycustomdomain.com) to point to the same web app on Vercel.

In this guide, we'll walk you through the steps to resolve this issue by identifying conflicting DNS records and configuring the correct A records to point to Vercel.
Solution: Removing Conflicting DNS Records
The key to resolving this issue is to remove the "Parked" DNS record from your DNS settings. This record often conflicts with the correct Vercel A record, which should point to 76.76.21.21.
Here's how to fix it:
- Log in to your DNS provider's dashboard.
- Locate the DNS settings for your domain (mycustomdomain.com).
- Check for multiple A records with the name '@'. You should see one pointing to the correct Vercel IP (76.76.21.21) and another labeled as "Parked."
- Remove the "Parked" A record to resolve the conflict.
- Save your DNS settings and allow some time for propagation.
Once the "Parked" record is removed, the custom domain should point correctly to your Vercel web app without any issues.