magick

Member
Oct 2, 2021
22
2
3
Italy
cPanel Access Level
Reseller Owner
Hello,

I need to transfer cPanel account to another hosting. I follow this guide (How to Manually Migrate Accounts to cPanel from Unsupported Control Panels - cPanel Knowledge Base - cPanel Documentation) and I transfered files and directories, compressing all in a file tar.gz. In the new hosting I see all files and also the email accounts, but I don't see the subdomain and DNS records that I had in the old account.

Is possible to transfer the DNS records in the new hosting?

Thanks in advanced
 
Last edited:

andrew.n

Well-Known Member
Jun 9, 2020
930
345
63
EU
cPanel Access Level
Root Administrator
You should use the "Backup" option in your cPanel account to create a full backup instead which includes the DNS zones as well and ask your new hosting provider to restore the backup for you.
 

magick

Member
Oct 2, 2021
22
2
3
Italy
cPanel Access Level
Reseller Owner
Hi Andrew,
I've already tried but the new hosting provider asked me to buy the migration service. I can recreate the record manually, but there are two records I don't know:

- TXT record named " _cpanel-dcv-test-record.domain.com"
- TXT record named " _acme-challenge. .domain.com"

I must create this?
 

andrew.n

Well-Known Member
Jun 9, 2020
930
345
63
EU
cPanel Access Level
Root Administrator
Good question. I think it wouldn't hurt but it is possible that cPanel will automatically create these if missing after the first time the free SSL certificate is issued on the domain name (It is being used for verification purposes).

I would double check with your new hosting provider I think there is a misunderstanding. If you provide them a full backup they should be able to restore that pretty quickly and probably without any charge while if they need to manually migrate the account (as you do now) they charge for that.
 

HostNoc

Well-Known Member
Feb 20, 2020
157
39
28
Ontario
cPanel Access Level
Root Administrator
HI

These record are setup automatically in DNS zone when hosting account created , if you don't want these records then your can delete it .

Regards
HostNoc
 
  • Like
Reactions: magick

magick

Member
Oct 2, 2021
22
2
3
Italy
cPanel Access Level
Reseller Owner
Good question. I think it wouldn't hurt but it is possible that cPanel will automatically create these if missing after the first time the free SSL certificate is issued on the domain name (It is being used for verification purposes).

I would double check with your new hosting provider I think there is a misunderstanding. If you provide them a full backup they should be able to restore that pretty quickly and probably without any charge while if they need to manually migrate the account (as you do now) they charge for that.
HI

These record are setup automatically in DNS zone when hosting account created , if you don't want these records then your can delete it .

Regards
HostNoc
Thank you to all. I've alreay tried to contact my hosting provider. In the meantime I noticed that the site is not accesible from temporary url with IP address (example: http://xx.xxx.xx.x/~user/), the browser show a "403 forbidden error". I asked also this the hosting provider.
 

andrew.n

Well-Known Member
Jun 9, 2020
930
345
63
EU
cPanel Access Level
Root Administrator
This could be a permission issue or maybe you don't have an index file under public_html folder?
 

magick

Member
Oct 2, 2021
22
2
3
Italy
cPanel Access Level
Reseller Owner
This could be a permission issue or maybe you don't have an index file under public_html folder?
The permissions are the same of old hosting, and under public_html folder there is not index file because there is WordPress (like old hosting). On internet I found a guide for view the site under development, modifying the file host in Windows with the IP address of new hosting. I tried this, but i see the follow error:


Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
 

andrew.n

Well-Known Member
Jun 9, 2020
930
345
63
EU
cPanel Access Level
Root Administrator
Hi, thank you for your help. I don't know how to use the tail command for view the details error.
.htaccess file permissions are correct 644.
The easiest way is to login to WHM and choose "Terminal" where you can paste those commands. Alternatively you can hire a cPanel Certified Professional from Resources to resolve this issue for you.
 

andrew.n

Well-Known Member
Jun 9, 2020
930
345
63
EU
cPanel Access Level
Root Administrator
Ah sorry I forgot you don't have root access to the server. In that case you need to ask your hosting provider about this and they should be able to let you know why you are seeing this error.
 
  • Like
Reactions: cPanelAnthony

magick

Member
Oct 2, 2021
22
2
3
Italy
cPanel Access Level
Reseller Owner
Ah sorry I forgot you don't have root access to the server. In that case you need to ask your hosting provider about this and they should be able to let you know why you are seeing this error.
Hello, the hosting support has resolved the error, there was a permission problem. But in file manager the permissions were correct, just to understand. Thank you.
 
  • Like
Reactions: andrew.n