Change FQDN

Hi!

Im replacing our old mailserver.
Lets say the old mailservers name is mail.domain.se, and i’ve already installed a Blue Mind server with FQDM mail2.domain.se.
If i just:

  • Change the linux servers name
  • Point DNS to the new ip for mail.domain.se
  • Add a new application server (mail.domain.se and same ip as the old one) with all services enabled under Central administration > System Management > Application’s servers
  • Delete the old application server (mail2.domain.se)

Will it work? Is everything changed then?
I dont want to mess with it without being 100% confident about the process. Need to know exactly how to do it when we switch the servers.

Best regards

No this won’t work.

If you change only FQDN, and not server IP, you must do:
[list=1]
]stop Blue Mind services: bmctl stop/]
]edit external-url in /etc/bm/bm_conf.ini and put new FQDN/]
*]go to directory /etc/nginx/sites-available and run sed -i -e ‘s/<old_fqdn>/<new_fqdn>/’ bm-**/]
]run: postconf -e myhostname=<new_fqdn>/]
]if use auto-generate SSL cert, run: /usr/share/bm-ca/createcert.sh <new_fqdn>/]
]start Blue Mind services: bmctl start/]
[/list]

We plan to add FQDN modification support from administration console.

Thanks!

This info is extremly helpful!