Server Initial Configurations rDNS Dramas

Sorry to hear.
Hopefully this can help you out. I fixed the issue.

After extensive investigations, it appears my particular issue may have been due to the hosts file. I am not sure entirely why this has caused any issues, as it’s not explained in the CyberPanel onboarding page;

https://cyberpanel.net/KnowledgeBase/home/onboarding-and-initial-cyberpanel-configurations

From what I gathered, I was able to resolve my issue by editing the /etc/hosts file.

Here’s my hosts file:

127.0.0.1 dedi.website.com website-dedi
127.0.0.1 localhost.localdomain localhost dedi.website.com
14x.xxx.xxx.x44 dedi.website.com
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
2a01:4f8:272:280a::2 website-dedi

I’ll explain:

dedi.website.com is the sub-domain I’ve allocated to this server.
website-dedi is the hostname my server is setup on (refer to /etc/hostname)
14x.xxx.xxx.x44 is the IP address of my dedicated server

Let me know how you go, @computerman - if an admin could explain why this is an issue, that’d be great. Perhaps you can also add this to the Onboarding and Initial CyberPanel Configurations website.

1 Like