(Sorry if this is in the wrong section, wasn’t sure)
So, I have had a site ‘olddomain.net’ hosted with a local hosting company for a couple years now. I just registered a new domain ‘newdomain.com’ with a better hosting company a few days ago. I don’t want to pay two hosting companies, so I figured I would make ‘olddomain.net’ an addon domain of my new host.
So I changed the dns of ‘olddomain.net’ to point to the new hosts nameservers, and in the new hosts cpanel, added ‘olddomain.net’ as an addon domain. I also added all of the ‘olddomain.net’ site’s files to the appropriate addon directory in my new host, and changed the main page so I could check that it worked.
I assumed this was all I had to do, but apparently not. When I go to ‘olddomain.net’ in my browser, it still shows me the ‘old’ version of the site, so it’s apparently still pointing to my old host… I am kind of an idiot when it comes to this stuff, so that makes no sense to me. What am I missing?
How long have you waited since you changed the old domain’s DNS info? I think that it can take a while for the change to propagate throughout the internet.
If you changed the dns records to point to your new host then you should be good. It will often take several hours or even a day for dns records to propagate and update your old domain name to point to the new host.
So I also set up my old email address ‘mail@olddomain.com’ with the new host, and all of my new messages have gone to the new host, rather than the old. However, the site itself is still coming from the old host. I might break something.
Just for a bit more info on what everyone’s talking about: The reason it takes so long for your DNS record to update is because of a special value called the TTL or Time To Live. Its measured in seconds and pretty much tells either your computer or your ISP how long they should cache your DNS records before requesting a new copy. TTL is important because it exponentially cuts down the number of requests to DNS servers, leaving them to perform more important tasks such as serving up your beautiful webpages.