thedd you will find the full error message in the logs at <flarum>/storage/logs if it's a backend issue.
But maybe it has to do with the url in config.php not reflecting your domain. Only one domain can be used for a Flarum instance. You should then setup redirects from www subdomain and IP address (if needed) via apache rewrites or the Canonical Url extension for example.