Hi all,
I am trying to switch the main domain for my client to another domain. For the purpose of testing, I created an account with a main domain sdomain.mydomain.com and addon domain sdomain1.mydomain.com. I removed the sdomain1.mydomain.com and went to WHM. I replaced the sdomain.mydomain.com with the subdomain that was removed. Then I added the replaced subdomain as an addon domain. Everything went fine.
But... It didn't when I tried to do the same on my client's account. He wanted to switch the main domain with another domain (hisdomain.com to anotherdomain.com). So I removed the addon domain anotherdomain.com (which was the target main domain for the account) and went to WHM. Switching the domains went quite smoothly, no problems occured. But when I tried to add the domain that was the main domain, an error occured. there is a message about editing the httpd.conf file and I have no clue where to find this file and how to edit it. Moreover, to my surprise, the domain that was the main domain for this account appeared as an addon domain in "addon domains" section, but the e-mail accounts related to that domain are no longer on the list in the "email accounts" section. When I try to remove the domain, a message saying that I am not the owner of this domain appears.
What should I do?
More info:
- I have shell access
- I have access to the root account (but I use the reseller account)
Thanks in advance for your help
Oruen
I am trying to switch the main domain for my client to another domain. For the purpose of testing, I created an account with a main domain sdomain.mydomain.com and addon domain sdomain1.mydomain.com. I removed the sdomain1.mydomain.com and went to WHM. I replaced the sdomain.mydomain.com with the subdomain that was removed. Then I added the replaced subdomain as an addon domain. Everything went fine.
But... It didn't when I tried to do the same on my client's account. He wanted to switch the main domain with another domain (hisdomain.com to anotherdomain.com). So I removed the addon domain anotherdomain.com (which was the target main domain for the account) and went to WHM. Switching the domains went quite smoothly, no problems occured. But when I tried to add the domain that was the main domain, an error occured. there is a message about editing the httpd.conf file and I have no clue where to find this file and how to edit it. Moreover, to my surprise, the domain that was the main domain for this account appeared as an addon domain in "addon domains" section, but the e-mail accounts related to that domain are no longer on the list in the "email accounts" section. When I try to remove the domain, a message saying that I am not the owner of this domain appears.
What should I do?
More info:
- I have shell access
- I have access to the root account (but I use the reseller account)
Thanks in advance for your help
Oruen