<meta name='google-adsense-platform-account' content='ca-host-pub-1556223355139109'/> <meta name='google-adsense-platform-domain' content='blogspot.com'/> <!-- data-ad-client=pub-0738604325677758 --> <!-- --><style type="text/css">@import url(https://www.blogger.com/static/v1/v-css/navbar/3334278262-classic.css); div.b-mobile {display:none;} </style> </head><body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d33147415\x26blogName\x3dArticle+Domain\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://webmasterarticledomain.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://webmasterarticledomain.blogspot.com/\x26vt\x3d6423749457079760388', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>
0 comments | Tuesday, August 22, 2006

When service at your web hosting company is lacking, or your web site grows in traffic so much that you outgrow your current account, you may find yourself needing to change hosting providers. It can be scary to think about everything you need to do. Here are some things you should keep in mind that will help make the transition to the new host much easier.

1. Backup all of your files and databases

Before you decide to transfer anything over, you need to create a backup of every file and database you have on the current hosting provider's server. FTP into your current hosting account and copy all of the files from your public_html directory into a directory on your local hard drive that you'll find easy to remember later.

As for the database, backup methods will vary according to the database vendor, the control panel being used by the host if any, and the operating system of the server. Most providers provide a backup utility that allows you to save a copy of the contents of all of your database tables. If there isn't a simple backup utility available, you will need to export the contents of your database in a comma delimited file or the standard file format for the particular database you use. Most backup utilities will convert the database into one long SQL file that is then easy for any compatible database engine to reconstruct.

2. Transfering to the new server

Make sure that your website is functioning properly at the new location before you change the DNS information of your domain name. While it may not be possible to fully navigate the site without the domain name pointing to it, you can still point to some individual pages to be sure they will come up. For this though, you'll need to use the IP address of your hosting account along with your username if you have a shared IP address. On a Cpanel server, you would enter http://61.36.149.221/~username and your main website will come up. You can use this address until the DNS information from the domain propagates throughout the web.

3. Tidy up the loose ends

Upload the backup file of your databases or execute the SQL file you generated in the backup. This should restore your database back to what it was on the old server. Change the nameserver information for your domain name. This is almost always found with the registrar that you registered your domain with or with your old web hosting provider. They almost always assign you a username and password that allows you to log into an account that allows you to change the nameservers. If you don't have a control panel, then simply email the company that registered your domain for you and ask them to change the nameservers to the new servers. Within 24 to 48 hours, your website will be served from the new server and not the old one. Once you can confirm this, it is safe to ask the old web hosting company to delete and discontinue your old account.

Labels:




0 Comments:

Post a Comment

<< Home