Www.domain vs domain

HestiaCP, is great. It is very powerful but alot to learn. I am simply trying to use a feature that is offered in hestiacp.

When someone types in domain.com or www.domain.com, i would like to show www.domain.com like with most websites. Moreover, it is a wp site, that is setup as domain.com

Could someone please tell me what i am doing wrong, as if i use the settings below and type in www.domain.com, it will not work. I can still use domain.com but obviously both need to work.

I believe this is straightforward, but not for me.

Just access them via www.domain.com with the alias it should work fine

Only Wordpress has a rewrite system where traffic get send to non www if you installed it via Quick Installer

Change that in the Wordpress settings

Thanks for the quick reply, but i am a bit confused.

Are you suggesting the following:

  1. Leave the settings for re-direction below.
  2. Change the settings in wp, as right now it only has domain.com and change it to www.domain.com?

thanks