I'm in the process of changing my website from one hosting to another, however I've got the problem of how to do this.
Basically the new site on the new hosting is due to go live on Monday. However the name-servers are being changed Friday. There is another domain that is going to be parked on the old hosting.
How would I (if there is a way) point the actual domain at the temporary domain without actually changing the address bar so:
User goes to www.example.com
on Thursday and sees www.example.com
because it is hosted on HOST1
www.example123.com
gets parked on www.example.com
's hosting Friday and the name-servers for www.example.com
are changed to HOST2
.
When a user goes to www.example.com
on Friday, Saturday or Sunday can I, and how would I, show the user www.example123.com
but still keep the address bar as www.example.com
If there is a way to do this in either PHP or HTAccess rather than using the DNS settings that would be great. The reason we are doing this is so that when we actually go live with the site it doesn't take 2-24 hours to propagate through the internet and not be the same live time across the world.
I understand if this isn't doable but need to ask as its a precaution that my work are putting in place to avoid traffic going to the new site, and propagating early.
Thanks for any advice, assistance and solutions in advance