Discourse instellen voor de hoofdwebsite (www.example.com) niet op een subdomein

if you set your DNS records so that the A Record for both points to discourse, then its possible.