You can redirect your root domain to the WWW version, so that visitors will always be able to get to your website, regardless of thow they type your domain.
Follow these two steps with your DNS provider.
Navigate to your DNS provider.
Go to your DNS provider’s website, log in to your account, and navigate to the DNS manager. Common DNS providers include GoDaddy, Network Solutions, and eNom
Update your IP record.
Use at least one of the three provided IP addresses below. (These may vary for you)