www.joycegroup.org by itself does not mean joycegroup.org (without www) is a valid DNS record.
Note that you can’t setup a CNAME record for the root of a domain (Why can't a CNAME record be used at the apex (aka root) of a domain?), so you need an A record.
You can show it is a DNS resolution issue in various ways, such as curl https://joycegroup.org
. If it shows curl: (6) Could not resolve host: joycegroup.com; Name or service not known
, its' a DNS issue.
You can further confirm it's a DNS issue related to the difference between the two records by running nslookup or host or dig in both cases and comparing the output.
Some examples:
$ host <record with www>
<record with www> has address 192.168.1.10
$ host <record without www>
<no output is shown>
$ nslookup <record without www>
Server: <dns server ip>
Address: <dns server ip>#53
*** Can't find <record without www>: No answer
$ nslookup <record with www>
Server: <dns server ip>
Address: <dns server ip>#53
Name: <record with www>
Address: 192.168.1.10
C:\Users\myuser> nslookup <record without www>
Server: <dns server>
Address: <dns server ip>
Name: <record without www>
Note that no IP address is shown. It returns something because every zone has its own record, although it is not an A record (associated to an IP address) but a SOA record.
On the other hand, if you query an A record that actually exists, you get the classic reply:
C:\Users\myuser>nslookup <record with www>
Server: <dns server>
Address: <dns server ip>
Name: <record with www>
Address: 192.168.1.10