What should I do? What can I do?
I realised that mydomain.com takes me to my old server while www.mydomain.com takes me to my new server (I'm not sure if this is a recent thing or if it has been like this all the time since DNS change). How strange is that... I spoke to my web host, and his only advice was to try to clear any cache, which I did. Problem is still there.
Have you ever experienced anything like this, or do you have an idea what it could be?
Most of my nameserver changes take effect very fast. A few yrs ago it was often 24-hrs or so but we have had so called 'instant propogation' for a long time.
Recently (with some registars) I have seen delays of as much as roughly 6 to 12-hrs but even that is not common. As an example, I changed DNS yesterday on a .org domain which was parked to a new website on a different server which new site resolved in 2-minutes.
what about this difference between mydomain.com and www.mydomain.com?how is that possible?
Depending on whose nameservers your domain name are supposed to use and
how they're configured, it might or might not have the same settings to have
the desired results. Both mydomain.com and www.mydomain.com should point
to the same place.
Since you said "domain host", ask them if both records for mydomain and www
are pointing to the same place where they're supposed to point to. They may
be able to fix that.
If you have spare time, search for "A records" and "CNAME records". They can
help you understand why this occurence.
David
what about this difference between mydomain.com and www.mydomain.com?
The difference is that they are completely different domains.
You have to set up both. Setting up one does not automatically get you the other.
Well, with some hosts or registrars, it might in fact be the case that setting up one automatically sets up the other. But, technically - they are two separate DNS entries.
It follows, then, if you change one - you need to change both. Sounds like somebody didn't.
Typing in mydomain.com takes me to my old web host, while www.mydomain.com takes me to my new web host.
Apparently that's because the record for www.mydomain.com was updated, but the record for mydomain.com was not.
They are two separate DNS records. Each has to be updated.
Nothing but convention requires that they point to the same server.