Skip to main content

Manually running /scripts/rebuildhttpdconf required?

Comments

5 comments

  • cPanelMichael
    Hello, With NAT mode, try using "WHM >> IP Migration Wizard" to migrate to the new local IP address. Also, check to ensure the correct IP addresses are configured in the /var/cpanel/cpnat file. Thank you.
    0
  • tombarnsley
    Hi Michael, The migration was many months ago and I believe that was what was done. The cpnat file is correct and can be modified from WHM root@cpanel-01 [/scripts]# cat /var/cpanel/cpnat 192.168.151.54 Interestingly I have to add a dummy IP address change the IP address of the site to that address and change it back. That in fact is what solves the issue. Here is the output of that procedure. Changing ip for user.co.uk (user) to 192.168.0.1 Setting up for ip change..... Done The remote dns zone is not consistent with the httpd.conf. The current ip in httpd.conf is: 192.168.151.54. The current ip in the dns zone is: ! will be switched to the new ip as well! Changed all instances of -> [192.168.0.1] in user.co.uk Updating httpd.conf....Done System has 1 free ip. Account modified. New ip is: 192.168.0.1. Changing ip for user.co.uk (user) to Setting up for ip change..... Done Changed all instances of [192.168.0.1] -> [] in user.co.uk Updating httpd.conf....Done System has 1 free ip. Account modified. New ip is: .
    0
  • cPanelMichael
    Hello, Feel free to open a support ticket using the link in my signature and we can take a closer look. Thank you.
    0
  • tombarnsley
    Hi Michael, This is chargeable isnt it? Tom
    0
  • cPanelMichael
    Hi Tom, Support tickets are free of charge. There's only a cost if you choose to purchase priority status. Thank you.
    0

Please sign in to leave a comment.