1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Changed server name. How to update CBM links in panel?

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Ross K, Aug 7, 2011.

  1. Ross K

    Ross K Basic Pleskian

    20
    90%
    Joined:
    Sep 5, 2009
    Messages:
    38
    Likes Received:
    0
    Hello,

    We changed our server name (server1.OLDdomain.com to server1.NEWdomain.com). We have updated the server name in Settings -> Server Settings. However, all of the CMB links in the panel still point to the older server name.

    For example, hovering over Tools & Utilities in the panel shows the link (correctly):

    https://example1.NEWdomain.com:8443/left.php3#

    But hovering over any CBM link, such as 'All Settings' shows:

    https://example1.OLDdomain.com:8443/plesk-billing/.../...etc

    How do I update CBM to reflect the server name change?
     
  2. EdwardDekker

    EdwardDekker Guest

    0
     
    Hi,

    1. Change the new host-name into the server-wide management of Plesk.
    2. Adjust your Hosts file (mostly /etc/hosts) into your desired host-name.

    Code:
    127.0.0.1 localhost.localdomain localhost
    11.222.3.444 newdomain.com newdomainname
    3. Reboot your server and you have a new localhost name.
    4. My last option is that you using bootstrapper to restore your Plesk installation

    Regards,
    Edward
     
    Last edited by a moderator: Aug 7, 2011
  3. Ross K

    Ross K Basic Pleskian

    20
    90%
    Joined:
    Sep 5, 2009
    Messages:
    38
    Likes Received:
    0
    Thanks Edward. This is what we've already done, but the CBM aspect of Plesk hasn't picked up on the change. The rest of the panel (and server) has.

    There must be some file or DB entry somewhere for CBM that does not get updated.
     
  4. EdwardDekker

    EdwardDekker Guest

    0
     
    Did you already try bootstrapper to restore your Plesk installation.
    Hopefuly that the installation will restore old links to the new one.

    Regards,
    Edward
     
    Last edited by a moderator: Aug 7, 2011
  5. Ross K

    Ross K Basic Pleskian

    20
    90%
    Joined:
    Sep 5, 2009
    Messages:
    38
    Likes Received:
    0
    Hi Edward,

    I hadn't tried that. I've just given it ago, but sadly, the CBM links in the panel are still pointing to the old server name.
     
  6. EdwardDekker

    EdwardDekker Guest

    0
     
    Let me know when bootstrapper fails,

    Additionally could you search and scroll into your DB of PSA by phpMyAdmin, and search to the old domain-name at your database. Such easy task could you do by your self if all the options don't work at all.
    Be careful if you using these option (Always make a back-up when modifying the database of Plesk)

    Edward
     
    Last edited by a moderator: Aug 7, 2011
  7. Ross K

    Ross K Basic Pleskian

    20
    90%
    Joined:
    Sep 5, 2009
    Messages:
    38
    Likes Received:
    0
    Hi Edward,

    Just to let you know, I did as you suggested and searched for the old server name in the psa database. I changed these references and now the links work correctly.

    Thanks for your help!

    Ross
     
  8. EugeneL

    EugeneL Regular Pleskian

    20
    57%
    Joined:
    Feb 18, 2011
    Messages:
    461
    Likes Received:
    0
    Use update-hostname utility to update server hostname
    /usr/share/plesk-billing/update-hostname --new-hostname=example1.NEWdomain.com
     
  9. EdwardDekker

    EdwardDekker Guest

    0
     
    Why should i look into a share folder.
    Will it not be more likely to search this command into the PSA folder.

    Also do i like to suggest that system administrators will find a PSA reference-file where you'll could use those commands for restoring settings and preferences.
     
    Last edited by a moderator: Aug 15, 2011
Loading...