If your website uses a database, at this point you should have already downloaded a copy of your database from your previous host, created a new database in your InMotion Hosting cPanel, and imported the database copy into the new database. The next step will be to edit your configuration files so that whatever system you use for your website (Content Management System, Blog, e-Commerce program, etc.) can connect to the database.

Depending on the software you use for your site, the name of your configuration file and it's location will vary. We have provided a reference table below for systems most commonly used to help you in locating and editing your configuration file.

Once you have located your configuration file, you can use the cPanel File Manager to edit the configuration file. You will want to replace the settings in the configuration file with your new database information. When you created your new database, this was the information we asked you to write down on the FTP and Database Information Needed form.

Common Software Configuration Files
Blog / Content Management Systems
WordPress /public_html/wp-config.php
Joomla /public_html/configuration.php
Drupal /public_html/sites/default/settings.php
E-Commerce
OpenCart Main Configuration File:
/public_html/config.php Admin Configuration File:

/public_html/admin/config.php
CubeCart /public_html/includes/global.inc.php
OsCommerce Main Configuration File:
/public_html/includes/configure.php

Admin Configuration File:
/public_html/admin/includes/configure.php
Zen Cart Main Configuration File:
/public_html/includes/configure.php

Admin Configuration File:
/public_html/zc_admin/includes/configure.php
Bulletin Boards
phpBB /public_html/config.php
SMF /public_html/Settings.php
Image Galleries
Gallery /public_html/var/database.php
Coppermine Photo Gallery /public_html/include/config.inc.php
Mailing Lists
PHPlist /public_html/config/config.php
Other
Moodle /public_html/config.php
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201638

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!