iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Internet
 

How To Change Web Hosts

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Brian Shoemaker

So, you have decided to switch web hosts. It is recommended you start the process at least a few days before the time runs out on the account with your present host. This will keep your website from experiencing any downtime between the move.

The first thing to do, after you have searched and found a new web host, is create a backup of your website. Make a new folder somewhere on your computer. Using your favorite FTP program, such as WS_FTP or Cute FTP (these and other FTP programs can be obtained at download.com), download all the files and folders on your website to the new folder you just made on your computer while maintaining the same folder and file structure (this will be important when uploading your files and folders onto your new host's server later). Make a note of any special chmod permissions you have set on any file or folder (look in your FTP program's help documents for information on checking a folder or file's chmod permissions). You will need to reset the permissions after you upload your files and folders to your new web host's server.

If you have any scripts or programs that you made a database for, make a backup of each database. If you have a database other than MySQL, check with your present web host for instructions on backing up your database. If you don't have any databases, you can skip these instructions. If your web host offers phpMyAdmin, log in to your control panel and go to the database section. Look for a link to phpMyAdmin and click on it. If required, log in using the username and password you gave for your database. If you assigned a different username and password for each database, you will have to repeat this process for each database. After you log in, click on "databases" and then click on the database you want to backup/export. Click "Export" on the top menu.

If you are using phpMyAdmin 2.4.0, you will see something like the image below, highlight all the tables under "View dump (schema) of database." Make sure the "Structure and data" radio button is selected. Check "Save as file" and select either "zipped" or "gzipped." Click "Go" and save the file (it would be a good idea to create a new folder in which to save all your databases).

If you are using phpMyAdmin 2.6.0-pl1, highlight all the tables under "Export." Check the "Structure" and "Data" boxes and select "SQL" under the tables you highlighted. Check "Save as file" and under "Compression" select either "zipped" or "gzipped." Click "Go" and save the file. (it would be a good idea to create a new folder in which to save all your databases). If you don't have phpMyAdmin, you can backup your database using mysqldump.

Next, setup your databases.

If you have MySQL databases, log in to your control panel. Go to the database section and create databases. Also, assign usernames and passwords for the databases (if you have a database other than MySQL, check with your new web host for instructions on creating and importing databases). Now, find the link to phpMyAdmin. If required, log in using the usernames and passwords you just created. If you assigned a different username and password for each database, you will have to repeat this process for each database. After logging in, click on "databases" and select a database by clicking on it. From the top menu, click "SQL."

Go to the folder you saved your databases in and select the database that corresponds to the one you have open in phpMyAdmin. Open the file and copy and paste the database in the large text area in phpMyAdmin. Click "Go" under the text area field. You can also use the browse button to find the file on your computer and click "Go" below the browse field. If you don't see any errors, with whichever method you chose, you have just successfully imported the database. If you have more than one database, go back and repeat this process for each one, starting with logging in with your database username and password. If you don't have phpMyAdmin, you can use this method to create your databases.

You may need to edit some files before uploading them in the next step, by changing MySQL database name, username and password settings within the files, if any information has changed. If you don't remember which files contain MySQL settings, check the installation instructions for each script/program.

Next, upload the files from the folder in which you saved your website content onto the new web host's server, maintaining the same folder and file structure, using your FTP program. The only difference in structure may be the location of the cgi-bin. Some web hosts have your cgi-bin inside the www or public_html directory and some have it placed outside. If you had any programs or scripts on your website, you may need to edit some files by changing paths within them. If you don't remember which files contain paths that may need to be changed, check the installation instructions for each script/program. Also, change any file or folder permissions as needed (look in your FTP program's help documents for information on changing a folder or file's chmod permissions).

The final step is to point your domain name to your new web host's name servers. This information probably came in an email from your new web host soon after you registered with them. If not, send them an email asking them what the name servers are for your domain. Once you have this information, go to the website where you have your domain name registered. Log in to your account and set the name servers for your domain. Please note that changes to name servers may take as much as a couple of days to take effect. If you still have a few days left on your old account, your website shouldn't experience any downtime. Once the name servers change has taken effect, cancel the account with your old host (this is so you don't get charged for another term). That's it. You have successfully switched web hosts.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

Find affordable web hosting at http://www.Find-A-Web-Host.com.
Article Tags: database [See Dictionary], databases [See Dictionary], folder [See Dictionary]
Got a question about this article? Ask the community!
Article published on December 15, 2005 at Isnare.com
 
Rate this article:

Finding The Right Web Hosting Plan
Submitted by: Brian Shoemaker

There are many things to consider when choosing a web hosting plan The five most important are listed below...

Paid vs. Free Web Hosting
Submitted by: Brian Shoemaker

It really depends on what your needs are and what you are trying to accomplish There are advantages and disadvantages for both paid and free web hosting...

Setting up Google Analytics For Your Bridal Shop's Web Site
Submitted by: Tom Esposito

Google Analytics is considered by many to be the most complete package for tracking traffic on a website...

Protecting Yourself From E-mail Scams
Submitted by: Gregg Housh

A lot of us are already well familiar with the annoyance of spam: unsolicited e-mail advertisements In recent years, unwanted emails have evolved in an attempt to avoid increasingly advanced filters and wary recipients...

Why SEO Experts Are in High Demand
Submitted by: Lee Smith

With the rise in awareness in the public domain of the term SEO (search engine optimisation), SEO experts are now in great demand by ambitious website owners that want to increase targeted traffic to their websites...

Link Building With Internet Directory Websites
Submitted by: A. Conner

If you manage a web site which presents quality content, or if you are a writer and would like to expand your reader base, you can benefit substantially from inclusion of your articles or link in an internet directory website...

Web Design and Development - Want to Encourage Repeat Visits? Ideas to Generate and Update Content
Submitted by: Daljeet Sidhu

If you want to be a successful web entrepreneur, you must learn to attract customers to your website on a regular basis...

Make Extra Money Online
Submitted by: Blanca Ciotoiu

If you are expecting that I'm going to tell you a fast way to make extra money online then, you are wrong...

Web Site Design and Development – Tell a Story to Build Your Credibility and Educate Customers
Submitted by: Daljeet Sidhu

The best way to attract customers to your business is to make them understand what sets you apart from the competition...

Traffic Builder For Free
Submitted by: Dansar Gin

After you decide to have a website and to buy a domain name for your website you will ask a lot of questions like: - What is the right way to start...

5 Ways Verizon FiOS Can Help You Make Money From Home
Submitted by: Russell Blanc

5 Ways Verizon FiOS can Help You Make Money From Home If you are one of the Verizon FiOS New York customers that is looking for a way to make some extra income or to replace a lost job, Verizon FiOS super fast Internet and high quality TV service can help...

What is All About Ebooks?
Submitted by: Roberto Sedycias

Ebook stands for electronic book These are usually in a word processor format or PDF file that can be emailed and delivered anywhere by virtual means...

How Broadband Internet Connections Work
Submitted by: Andy Fullard

We all know that due to inflation and the rising prices of the commodities we can save very little for us...

The Ultimate Hunt For Cheap SEO Packages
Submitted by: Cliff Posey Jr

Cheap SEO packages and SEO services are what most of the website owners are looking for these day as the world has been hit by the global economic recession and many entrepreneurs are now looking for affordable SEO services that would help them save money in some way or the other for their online business...

Enjoy a Glamorous Christmas on a Budget by Buying Online
Submitted by: Vincent Norman

Christmas is a time of giving, but for many it is a time of budgeting Budgeting can be a rather nasty thing around the holiday, especially when you consider the shape that the world economy happens to be in right now...

How to Shop Online For Christmas Presents and Gifts
Submitted by: Derek Rogers

The holiday season is upon us and that can only mean one thing: presents When it comes to presents there are a number of things that you will need to keep in mind...

Kids Toys: Finding the Must Have Christmas Present Online?
Submitted by: Vincent Norman

Shopping for yourself is one thing Shopping for kids...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy