Skip to main content

cPanel with GRE show default page

Comments

7 comments

  • cPanelMichael
    Hello :) Could you elaborate on the purpose of this type of configuration? Please also see our NAT documentation: 1:1 NAT Thank you.
    0
  • Insert
    I am already used the nat script but not resolved... VPS have DDoS protected Ips that will protect the dedicated cPanel with cPanel. On WHM baisc settings I configured the IP of the VPS to created accounts with this IP in apache and DNS zones... this is correct? If I set the internal IP 10.1.1.1 on httpd.conf the domain work but the cPanel reset the httpd.conf later...
    0
  • cPanelMichael
    ]If I set the internal IP 10.1.1.1 on httpd.conf the domain work but the cPanel reset the httpd.conf later...

    You should update the account IP address to the internal IP via: "WHM Home " Account Functions " Change Site"s IP Address" Then, manually update the DNS Zone to use the external IP address. Thank you.
    0
  • Insert
    Hello. 1-I need to update the DNS zone for each new accounts created? 2-How to sincronize DNS zone with all cluster from command line? All zones and specific zone please 3-Then I can create a post script to replace the internal IP to the VPS IP and sincronize the DNS zone correct? 4-On the WHM Basic Settings I configure the internal IP?
    0
  • cPanelMichael
    Hello :) 1. Yes, you should update the zones for new accounts that are created. 2. You can use "/usr/local/cpanel/scripts/dnscluster" for this:
    # /usr/local/cpanel/scripts/dnscluster Usage: dnscluster [ACTION] [OPTIONS]... Examples: /usr/local/cpanel/scripts/dnscluster syncall --full # Sync all zones (even ones not in /etc/userdomains) /usr/local/cpanel/scripts/dnscluster synczonelocal mydomain.org # Sync mydomain.org to the local machine Actions: syncall [--full] - make sure all dns zones are in sync within the cluster. If any zone files are out out of sync, the ones with the largest serial numbers will be copied to all servers. syncalllocal [--full] - make sure all dns zones are in sync within the cluster. If any zone files are out out of sync, the ones with the largest serial numbers will be copied to the local server only. synczone - sync one zone If the zone is out out of sync, the one with the largest serial number will be copied to all servers. synczonelocal - sync one zone If the zone is out out of sync, the one with the largest serial number will be copied to the local server. Operation modifiers: -F, --full If the --full flag is specified then zones that are not local to this server (in /etc/userdomains) will be pulled in as well. This was the default behavior prior to 11.24.5 Help: -H, --help (or no arguments) This will show this screen.
    3. Yes, that is correct. 4. Yes, you should configure the internal IP address there. Thank you.
    0
  • Insert
    Is possible to hidden the IP Address on WHM "Home "Account Information " List Accounts ? I disable the mod_user dir because the IP that will show on the List Accounts is the internal but need to hidden this option...
    0
  • cPanelMichael
    It's not possible to hide the IP address under "List Accounts", but you can submit a feature request for this via: Submit A Feature Request Thank you.
    0

Please sign in to leave a comment.