Question
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.
domain1.com
domain2.com
domain3.com
i want to have a subdomain on one of them
sub.domain3.com
here are my current records for each domain.
domain1.com
A domain1.com directs to 11.11.11.11
CNAME www.domain1.com is an alias of domain1.com.
domain2.com
A domain2.com directs to 11.11.11.11
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 11.11.11.11
A domain3.com directs to 11.11.11.11
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.
×