Hey everyone usually when i publish a website i only see one domain but this time i see both with and without www I was wondering if i need to publish to both or just to one for best SEO practices. When i publish to both does it mean I’m publishing two duplicates?
long story short: You don’t need to publish for both domains, usually your DNS Provider will forward automatically to the main site.
Also, you might want to define a main version in the project settings hosting tab, if you haven’t already. The option should then disappear.
Concerning SEO, it probably won’t matter. If you want to play it safe, use the www-version.
More details about these questions can be found in this article for example and in many others.
Hope this helped!