PDA

View Full Version : Site Move - When?


Jose
2003-09-10, 00:40 AM
I wish to create an account in WHM and do a test move of a site. But I don't wish to have the site actually move yet. I will create the site from a backup from where it's hosted right now.

My question is how do you see the test move site without changing any dns info? In other words, how do I refer to it here at my server in order to see it? I want to make sure the is restored properly from a backup before changing the dns. I also wish to make sure that the mysql databases are ok. So how do you all do it? Hope you know what I mean.

gilbert
2003-09-10, 01:34 AM
well what you could do is like setup all the emails and upload everything to the new server....then in your config files on the php or whatever connect to the databases temporaily if this site gets heavy usage see if the ports are open to the net for the old server your database is on and then update really quickly moving the database to the new server and change the config files back with the origianl version for the local machine........as far as stuff like email goes your gonna have to keep hopes up with the 99 percent chance some may get sent to the old server until the dns stuff changes....and if you really want to for web browsing purposes you could change your host file on your system /etc/host to make it so that the domain name resolves to that ip address of the new server temporaily for testing to make sure it responds correctly....anything else ?? :)

Jose
2003-09-10, 02:55 AM
I am not following you. What I want to do is copy the site to my serverbeach server and be able to see it using a browser. That way I can check to see that all was uploaded properly.

I don't wish to change any dns until everything checks out. But how do I check out my html pages? How will I refer to it using http? I hope that I don't have to actually move the site, change dns in order to see that all went well. Of course if my site were ip based, I'd use the ip address. But since they are not how do you reference it in order to check it out?

brent
2003-09-10, 03:17 AM
Set up a temporary DNS entry for the serverbeach server. Something like: newserver.yourdomain.com and then set up the appropriate references in your web server configs etc. That way you have the old site "doing its thing" while you can play with the new.

JoshPet
2003-09-10, 03:24 AM
You should be able to access the space with your IP address and the 8 letter account name like this - if the CPanel account you created is for www.yourdomainname.com and the username/account name was yourdoma...

Then the account can be viewed at the IP like this:

http://123.456.789.10/~yourdoma

Hope that helps. :)

Jose
2003-09-10, 11:17 AM
JoshPet that was exactly what I was looking for. Thanks a million.