The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Customize error messages

Discussion in 'User Experience' started by Shokushu, Jan 20, 2016.

  1. Shokushu

    Shokushu Registered

    Joined:
    Jan 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UA
    cPanel Access Level:
    Root Administrator
    Hello,

    I am looking for a way to change/customize error messages that are displayed when adding remote/unregistered domain:

    "Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver. "

    and

    "Could not determine the nameserver IP addresses for “example.com”. Please make sure that the domain is registered with a valid domain registrar. "

    respectively.

    Themes in question are x3 and Paper Lantern.
    cpanel version:11.52.2.4 , /var/cpanel/envtype: standard , access level - root

    I am new here. I used search and I think I provided all relevant information. Please let me know if I missed something.
     
    #1 Shokushu, Jan 20, 2016
    Last edited by a moderator: Jan 21, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can edit the locale per the instructions at:

    Edit a Locale - Documentation - cPanel Documentation

    Search for the message you want to change when editing the locale in bulk mode and remember to run the following command after making the change in WHM:

    Code:
    /usr/local/cpanel/bin/build_locale_databases
    Thank you.
     
  3. Shokushu

    Shokushu Registered

    Joined:
    Jan 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UA
    cPanel Access Level:
    Root Administrator
    It works. Many thanks.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page