SAFEHOSTNAME

Status
Not open for further replies.

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Can someone tell me where SAFEHOSTNAME comes from? That is what shows up as the host name to my Fusionpbx server. I never set that up that way. I set up a different host name. Just wondering how that got in there?

See attached (Registrations)
 

Attachments

  • 5246944493174784.png
    5246944493174784.png
    36.4 KB · Views: 6
  • 6249562866712576.png
    6249562866712576.png
    20.8 KB · Views: 5

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Thank you Adrian. When I set up the server on Vultr it asked me for a server host name. I set it up as ABNETWORKS. When I log in to Vultr and check, it still shows the host name as ABNETWORKS. That is why this SAFEHOSTNAME is so confusing.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,391
365
83
If you want to change your host name you only need to edit a few files:

/etc/hostname
/etc/hosts
/etc/mailname
/etc/ssh/ssh_host_ed25519_key.pub
/etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/ssh_host_ecdsa_key.pub

and depending on the build possibly /etc/motd
 
Last edited:
Status
Not open for further replies.