I initially established a free hosting account with a host that provides VistaPanel. That initial account is a subdomain of the server domain that I ended up on. I established a couple of domain accounts of my own and then had to move a client domain to the account. That is when I discovered that the free host was not providing basic email account service, which was essential to this client's website. So, we signed the client up for a premium account that provides cPanel with the same company, which happens to be located on a different server. At that time, we asked the provider to migrate the client domain to the new account. Instead, they migrated all four domains. I got them to restore the account functionality for the domains that should not have been migrated back to the free account and have confirmed that the sites are being served from it. But copies of the migrated files remain in the File Manager of the premium account.
My first question is, what is the best order in which to remove these "domains" and their attendant files from the premium server, and will they automatically repopulate on their own, as I do not have access to information about how the host migrated the domains in the first place? All of the domains are listed on the "Domains" page in cPanel, all are listed on the "Addon Domains" page and their document root listings place each respective domain in its same named folder in public_html, as in public_html/domain2.tld, and each has a related, albeit random, listing on the "Subdomains" page as in abcde.maindomain.tld, generated by the host during the migration, that roots to the same/cooresponding folder identified on "Addon Domains", as in public_html/domain2.tld. So, to dismantle and remove the unnecessary files, should the "Subdomains" or the "Addon Domains" be deleted first? I assume I should delete these listings in cPanel before deleting the files via FTP or the File Manager.
The host also left a residual "root" folder chain in public_html that documents the migration path and holds an additional copy of the domain files. Can this safely be deleted?
To complicate these questions further, I use Custom MX Records on the free account to allow a working email address for each of the two domains hosted there to be created on the premium account and I need to preserve these email addresses. Can these email addresses be maintained while still deleting the Addon Domains/Subdomains in cPanel and/or their attendant directories and files as I propose?
Another new issue: I am adding a new Addon Domain to the premium account. My first attempt created the newdomain.tld folder at the root of the site, which is different than when the migration took place before. Based on my prior experience, I edited the document root to place the site files at public_html/and (abbreviated new domain). I still haven't directed the DNS for the site to these servers because a prior iteration still exists and I need to test the site. The host has directed me to edit my hosts file to see the site on my system for testing purposes. Which location for the document root is current best practice for editing of the hosts file to work for me?
Thank for your time,
Mark Harrison
My first question is, what is the best order in which to remove these "domains" and their attendant files from the premium server, and will they automatically repopulate on their own, as I do not have access to information about how the host migrated the domains in the first place? All of the domains are listed on the "Domains" page in cPanel, all are listed on the "Addon Domains" page and their document root listings place each respective domain in its same named folder in public_html, as in public_html/domain2.tld, and each has a related, albeit random, listing on the "Subdomains" page as in abcde.maindomain.tld, generated by the host during the migration, that roots to the same/cooresponding folder identified on "Addon Domains", as in public_html/domain2.tld. So, to dismantle and remove the unnecessary files, should the "Subdomains" or the "Addon Domains" be deleted first? I assume I should delete these listings in cPanel before deleting the files via FTP or the File Manager.
The host also left a residual "root" folder chain in public_html that documents the migration path and holds an additional copy of the domain files. Can this safely be deleted?
To complicate these questions further, I use Custom MX Records on the free account to allow a working email address for each of the two domains hosted there to be created on the premium account and I need to preserve these email addresses. Can these email addresses be maintained while still deleting the Addon Domains/Subdomains in cPanel and/or their attendant directories and files as I propose?
Another new issue: I am adding a new Addon Domain to the premium account. My first attempt created the newdomain.tld folder at the root of the site, which is different than when the migration took place before. Based on my prior experience, I edited the document root to place the site files at public_html/and (abbreviated new domain). I still haven't directed the DNS for the site to these servers because a prior iteration still exists and I need to test the site. The host has directed me to edit my hosts file to see the site on my system for testing purposes. Which location for the document root is current best practice for editing of the hosts file to work for me?
Thank for your time,
Mark Harrison
Last edited by a moderator: