You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 376 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Zhen's How To: Moving Your PHP-Nuke Site
General NewsThis article covers what happens during a php-nuke website transition from one server to another. We'll take the long way, from one hosting company to another. At first it might seem to involve a huge effort to move your site. However, its more time consuming than anything else, and requires a little bit of planning and coordinating. If you aren't a project manager, now is the time to learn.

The most important step that is mentioned immediately is: your friends and membership are the biggest support one can ever have. Treat them all with respect, friendship, and fairness. Without them, none of this is possible.

Read on for steps.

  1. You have decided that you no longer like your current webhost company called X. Now you have obtained another server with a company called Y. Prepare to take about a two week timeframe to complete the site move.
  2. Contact site admins at X and ask them to lower the TTL (time-to-live) time on your domain's zone files. Ask to lower it to 900 seconds. This will tell all DNS servers on the planet to update their zone information for your domain every 900 seconds. Typically the default settings are *much* longer.
  3. Ensure your new host Y will install all the proper applications: MySQL, Apache build with PHP, mod_security, mod_require_host, mod_gzip, mod_dosevasive, GD, lib-jpeg, mod_auth, mod_rewrite, and any others you may need.
  4. Get iptables with portsentry up and running to ban those hosts that attempt port scans on your server.
  5. Ensure sendmail and httpd.conf are setup correctly reflecting your domain(s).
  6. Lock down your filesystem on X such that a filesystem transfer from X to Y can take place. Leave behind the database still, but don't forget to take .htaccess files. This means, you move all files over, email, hosts.deny, etc. Create a test.php file with phpinfo(); for the content. Load it up via the server IP at Y to check connectivity.
  7. All the above can be done without you watching or staying by the computer. This step requires you stay put and don't move anywhere. Make an announcement that you are dumping your database and transferring it to the new site. Now, run a mysqldump and then transfer it quickly to the new site at Y. When on Y, import your database. Reload the site using its IP address to ensure the site comes up and is working.
  8. If all is well, modify .htaccess on your server at X to force any new requests to the new server at Y. Hence, any requests to your domain will be re-routed to the IP of the server at Y.
  9. Go to your name registrar and update your domain's DNS records. Point to the name servers at host Y. Changes should go over in a matter of hours thanks to the TTL lowering above.
  10. Keep your server at X for a couple more days to ensure all DNS servers are updated, then cancel your services at X at your own liesure.
  11. Once DNS propagates, you'll be able to access the domain name and it won't change to the IP of the new server at Y, which is what the .htaccess modification above does. Now you know your on your way to a successful move with very minimal impact to the customer. But before you do, check your email on the old server at X again to ensure you haven't missed any new messages. Double check the server once more... measure twice, cut once the old adage goes.
Good luck. This is what I did for the move of the following sites:
  1. computer cops
  2. nuke cops
  3. zhen-xjell
If you have any generic or specific questions/comments, feel free to respond cordially.
Posted on Thursday, July 17 @ 22:26:01 CEST by Zhen-Xjell
 
Related Links
· More about General News
· News by Zhen-Xjell


Most read story about General News:
MSN Block Checker!

Article Rating
Average Score: 4.33
Votes: 3


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: Zhen's How To: Moving Your PHP-Nuke Site (Score: 1)
by dsnail2000 on Friday, July 18 @ 17:49:42 CEST
(User Info | Send a Message) http://www.controlbooth.com
Thank you so much for posting that!

I am getting ready to transfer hosts, and thankfully, the only thing that has to be transfered is the mail settings and the domain name. I was wondering if you could go into a bit more detail as to how you prepped each hosting plan to make sure that your mail doesn't get bounced back.



Re: Zhen's How To: Moving Your PHP-Nuke Site (Score: 1)
by Zhen-Xjell on Saturday, January 03 @ 11:08:39 CET
(User Info | Send a Message) http://castlecops.com
Whoa, looks like I need to add more in here?


Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.079 Seconds - 167 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::