Help configuring subdomain, one droplet multiple domains
Im trying to configure a subdomain on one of my domains.
I have one droplet, whit three domains on it.
i want to have a subdomain on one of them
here are my current records for each domain.
A domain1.com directs to 188.8.131.52
CNAME www.domain1.com is an alias of domain1.com.
A domain2.com directs to 184.108.40.206
CNAME www.domain2.com is an alias of domain2.com.
CNAME *.domain2.com is an alias of domain2.com.
domain3.com (This is the one i want to have a subdomain on)
A sub.domain3.com directs to 220.127.116.11
A domain3.com directs to 18.104.22.168
CNAME *.domain3.com is an alias of domain3.com.
CNAME www.domain3.com is an alias of domain3.com.
CNAME *.sub.domain3.com is an alias of sub.domain3.com.
when browsing to sub.domain3.com it will acctually direct me to domian1.com
Why is that? Can someone please help me what im doing wrong?