I have a domain for our company (example.com
) and several subdomains for our clients (yyy.example.com
).
I have the A record for all of them pointing to the same IP.
I have the www
CNAME records pointing to their relative domain:
www.example.com
points to example.com
www.yyy.example.com
point to yyy.example.com
The following URLs work as expected:
example.com
www.example.com
yyy.example.com
BUT the problem is that when I try to use:
www.yyy.example.com
it goes towww.example.com
instead of going toyyy.example.com
- The CNAME record for
www.yyy.example.com
is pointing toyyy.example.com
so I don't know WHY it's not working as expected.
Pinging to all of the possible domains/subdomains resolve to the same IP.
My DNS provider (IPLAN from Argentina) says that the records are OK and everything is as expected and they say that the problem is... the hosting. The hosting (Odoo) says that the problem is... the DNS records.