Exchange one domain with another domain

Asked by:
HubFans / n/a Points
2015-07-10 2:29 pm EST
Domain Pointing
I have 2 domains. and Both nameserver pointed toward webhostinghub nameservers. was pointed toward another site while I was installing and preparing site at

Now, I want to be the primary domain pointing toward hosted opencart site at and to be secondary domain.

I am stuck.
Steps I've taken so far:
1. Change document root of same as
2. Create CName record and use for .
3. Create Cname record and use for

I am still unable to fix it.

Can you help?


To ask this user for more information, please first login.

To submit an answer, please login.



12,011 Points
2015-07-10 3:00 pm EST

Thank you for contacting us about changing your domain. We typically don't recommend document root changes. cPanel restores packages based on default settings and miss document root changes. So if the account is moved, the accounts with the doc root change may break.

Instead, I recommend just requesting a primary domain change from AMP, moving your OpenCart files to the public_html folder.

Then, you have 2 choices for
1. If you want the address to display in the address bar, redirect to

2. If you want the address to display in the address bar, add it to cPanel as a parked domain.

Let us know if you have any further questions.

Thank you,

To submit a comment on this answer, please first login.

Want to share this Question?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.