# Change FQDN

**URL:** <https://forum.bluemind.net/t/change-fqdn/1520>\
**Category:** Discussions\
**Created:** [November 4, 2013, 2:51pm UTC](https://forum.bluemind.net/t/change-fqdn/1520 "2013-11-04T14:51:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kratz](https://forum.bluemind.net/letter_avatar_proxy/v4/letter/k/b4bc9f/32.png) [@kratz](https://forum.bluemind.net/u/kratz)\
**Post date:** [November 4, 2013, 2:51pm UTC](https://forum.bluemind.net/t/change-fqdn/1520/1 "2013-11-04T14:51:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Toony](https://forum.bluemind.net/letter_avatar_proxy/v4/letter/t/5daacb/32.png) [@Toony](https://forum.bluemind.net/u/Toony)\
**Post date:** [November 5, 2013, 4:10pm UTC](https://forum.bluemind.net/t/change-fqdn/1520/2 "2013-11-05T16:10:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kratz](https://forum.bluemind.net/letter_avatar_proxy/v4/letter/k/b4bc9f/32.png) [@kratz](https://forum.bluemind.net/u/kratz)\
**Post date:** [November 5, 2013, 9:09pm UTC](https://forum.bluemind.net/t/change-fqdn/1520/3 "2013-11-05T21:09:02Z")

</div>

Thanks!

This info is extremly helpful!
