Created Domain Accounts in WHM/Cpanel but are not Working?

Recently I created an EC2 instance to install WHM/cPanel in Amazon Web Services. After going through all installations and configurations, managed to run it perfectly. Though I haven’t purchased a license for using WHM/cPanel Software, am still running on trial version, so I have created two domain accounts for testing but whenever I try to run the domain in different browsers, I get this error;

Hmmm… can’t reach this page
Check if there is a typo in www.domain-name.com
If spelling is correct, try running Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN

Could this be as a result of running a trial version of WHM/cPanel or all domain accounts I register nor create in whm are not being considered.