Ok. It worked. I am so stupid
Now I have another question regarding the DNS section of the same problem. Whenever I try to use the command dig avatar it doesn't work but when I use dig avatar.test it works.
I know it's related to FQDN I think. Is it possible to change somewhere to resolve only when I type "dig avatar" and not "dig avatar.net"