Transition from Subdomain to Regular hosting (AddOn Domain)

Avatar
  • Answered
I have developed a client website on my VPS1000 account on a subdomain: blackcreekprecision.mercagency.com.
I would now like to transition them to regular hosting and they have pointed the domain to InMotion's nameservers.
I'm not how I did this, but I have the following entries in cPanel for both SubDomains and Addon Domains:

Subdomain:
blackcreekprecision.mercagency.com Document Root: /public_html/blackcreekprecision.com Redirection: none

Addon Domain:
blackcreekprecision.com Document Root: /public_html/blackcreekprecision.com (same as above) Redirects: none

If I try and go to blackcreekprecision.com it resolves to the subdomain blackcreekprecision.mercagency.com. If I add a redirect to the subdomain to point to blackcreekprecision.com then I recieve and error loop.

I believe the solution is to simply remove the subdomain entry, but I'm terrified as the confirmation for removing the subdomain states "permanetly remove" and I dont want it to delete any files since both the subdomain and addon point to the same /public_html/blackcreekprecision.com folder.
Avatar
JeffMa
Of course, make a backup of any files before making any changes, but removing the subdomain will still keep the folders intact. Also, depending on how the site is built, you may need to change things internally to point to the domain itself instead of the addon domain. For example, in WordPress you would follow these instructions: WordPress - Changing the Site URL and Home Settings