Step 1: Configure your server settings and DNS records
Step 2: Go to Domain Mapping on the WordPress Admin menu bar
Step 3: Select the post types for which you want to map domains.
Step 4: Add the domain you want to map in the list and Select the post your website should display for that domain.
Step 5: Visit both domains and test the mapping is configured properly.