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 220.127.116.11
CNAME www.domain1.com is an alias of domain1.com.
A domain2.com directs to 18.104.22.168
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 22.214.171.124
A domain3.com directs to 126.96.36.199
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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×