You can change it after installation.
Add the root domain – domain.tld. Once the blog is up, DNS set correctly, log into the WordPress dashboard and change both URLs under Settings-General. You’ll need to close your browser and clear cache for the dashboard login to work.
If the URL was mistyped and made the blog unavailable, see here how to fix it.