Hi guys,
I've been having issues on changing the hostname on my dedicated OVH. I added reverse to the IP, changed hostname in /etc/hostname and /etc/sysconfig/network and rebooted the server. But when I login through SSH it still shows the ns123456.ip-xxx-xxx-xxx.net instead of host.myserver.com.
Also, when issuing SSL certificate from Plesk with Let's Encrypt, it shows the ns123456.ip-xxx-xxx-xxx.net on every single domain that I have and I am unable to issue the ssl certificate.
Here's what it shows when I login to the server through ssh:
Code:
CentOS Linux release 7.2.1511 (Core)
Linux ns123456.ip-xxx-xxx-xxx.net 3.14.32-xxxx-std-ipv6-64 #9 SMP Thu Oct 20 15:08:27 CEST 2016 x86_64 x86_64 x86_64 GNU/Linux
server : 123456
hostname : ns123456.ip-xxx-xxx-xxx.net
eth0 IPv4 : xxx.xxx.xxx.xxx
eth0 IPv6 : xxxx.xxxx.xx.xxxx::/64
But when doing cat /etc/hostname it shows my shost name.
here's what cat /etc/sysconfig/network looks like:
Code:
# Created by anaconda
NOZEROCONF=true
GATEWAY=xxx.xxx.xxx.xxx
HOSTNAME=host.myserver.com
NETWORKING_IPV6=yes
and hostnamectl status:
Code:
Static hostname: host.myserver.com
Icon name: computer-server
Chassis: server
Location: OVH bhsx, Canada
Machine ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Boot ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.14.32-xxxx-std-ipv6-64
Architecture: x86-64
Here's what it shows on plesk under hosting settings:
https://s16.postimg.org/8i35km7tx/Sc...13_37_AM_3.png
Also I noticed that the ns record shows sdns1.ovh.ca. and ns123456.ip-xxx-xxx-xxx.net. Is that's what's causing the issues?
I called OVH and they said they can't can't provide software support. At this point I don't know what else to do to fix this.
Any help would be greatly appreciated as I am trying to moved away from my current host.
Thank you!