How do I use domain mapping? I'm so confused.

I've read the usage page for domain mapping and honestly I'm so lost and confused. I added the sunrise.php and then tried to map a domain and i keep getting an error message.