After you have completed the request to have your primary domain changed to another domain name, you still have the task of removing the old primary domain files, transferring the new website files, or simply building a new website. The following instructions use the file manager within the cPanel to illustrate the location of the files. If you are going to be transferring files, it is highly recommended that you transfer the files using an FTP client.

Before beginning this process, it is highly recommended that you create a complete website backup if you have not already done so.

Before you move your files

Public_html folder

What is the PUBLIC_HTML folder?

By default, the primary domain or main domain of your account is located in the PUBLIC_HTML folder. If you have requested that the folder for the document root(folder where primary domain website files are located; also called the web root) be changed to something else, then you should be looking in that folder for your primary domain website files. The following instructions use the PUBLIC_HTML as the document root of the website.

Add-on Domains

ADD-ON Domains

If you have already added a website as your primary domain, then there will be website files in the public_html folder. CAUTION: If you have set up add-on domains, then the folders containing the website files for the add-on domains would be in the same location. Use the cPanel Add-on or subdomains options in order to locate the folders that you may want to keep.

Moving and Transferring files for you Primary Domain Change

To REMOVE or MOVE the old primary domain files:
  1. Login to the cPanel
  2. contents of Public_html folder Go to the File Manager and navigate to the root directory of the primary domain (by default, this is public_html)
  3. Select the files that you wish to move or delete, then move/delete the files. You are ready to move in the new files or create new ones by building a new website when all of the older files have been removed or transferred.

  1. Launch your FTP client and then login to your FTP account
  2. Using FTP to move files/folders Navigate to your root folder (default is public_html)
  3. Make sure that the old files and folders are removed as per the instructions for removing/moving files above
  4. Upload the new files and folders for your website

Building a new website

If you are building a new website, then first make sure that you have removed the old files, then go about the business of building your new website to that location. Just make sure that you are saving or publishing your files to the document root folder.

This completes the tutorial for moving/removing your files for a primary domain change within InMotion Hosting. For more information see Changing the Main Domain.

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 our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Email Address:
Are you a bot?

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

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2045
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5370

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?


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:
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!