如何启用 www 子域名

Why not just set up a redirect? There’s no value in having your instance published under two discrete fqdn.

Get your domain off of digitaloceans DNS, and use your domain registrar’s tools to redirect any additional subdomains to the main URL. This doesn’t need to touch your discourse install at all.