8
|
Here's the method that worked for me:
1) Sync the files and databases with the new server.
2) Perform a re-sync just before cut-off.
3) Change the DNS to point to the new server.
4) Forward the request coming to the old ip to the new server until DNS propagation completes.
Here's how I would do the step 4:
We will configure IPTables on a Linux server to redirect all the traffic coming on port 80, (which is the default web server port), to a server with the IP 122.164.34.240. The first step is to set your Linux box to allow this kind of forwarding to take place. Open a terminal window, log in as root user and run the following command:
The next step is to tell IPTables to redirect the traffic to the new server:
Here’s where the IPTables magic happens. With the third and final step we tell IPTables to rewrite the origin of connections to the new server’s port 80 to appear to come from the old server.
The final step is required because if we don’t tell the web server of the new server that the connections are coming from the client machines, it would think that they are originating from the old server.
You may want to repeat this for the databases and email server port as well.
|
- Hosting
- _Web Hosting Services
- __Linux Web Hosting
- __Windows Hosting
- __Reseller Hosting
- _Dedicated Server Hosting
- __VPS Hosting
- __Cloud Hosting
- _App Hosting
- __Wordpress Hosting
- __Magento Hosting
- __Crystal Report Hosting
- Domain
- _Buy Cheap Domain Names
- __General TLDs
- __Country Code TLDs
- _Domain Transfer
- _PKNIC Cards
- Digital Marketing
- _Social Media Marketting
- __Twitter Ads
- __Facebook Ads
- __LinkedIn Ads
- __Google Ads
- __Youtube
- __Google Business
- _Seo Services
- __On Page Seo
- __Content Writing Services
- _Search Engine Marketing
- __Pay Per Click
- _Email Marketing Server
- __G-Suit For Business
- Design
- _Website Design
- __Wordpress Website Design
- __PSD to HTML Services
- __PSD to Wordpress Services
- _Business Design
- __Logo Design
- __Business Stationary Design
- Development
- _Website Development
- __Wordpress development
- __OJS Development
- __Ecommerce Website
- __WooCommerce Optimization
- _Mobile App Development
- Add Ons
- _Cheap Licenses
- __Cpanel Licenses
- __Plesk Licenses
- __Cloud Linux Licenses
- _Website Security
- __SSL Certificate
- __Wordpress Security
- _Microsoft Dynamics
- Contact Us
0 Comments