Control Web Panel
WebPanel => DNS => Topic started by: elcapitanph on January 27, 2019, 09:21:19 AM
-
Hello
I just installed cwp-pro but everytime i change hostname it always add 127.0.0.1
ex: us.domainname.com127.0.0.1
I already reboot etc, still same
-
This already happened to me.
I just could solve it changing manually the file '/etc/hostname', and executing:
chattr +i /etc/hostname
Regards,
Netino
-
Hello
I just installed cwp-pro but everytime i change hostname it always add 127.0.0.1
ex: us.domainname.com127.0.0.1
I already reboot etc, still same
I solved it by putting a dot at the end.
Try us.domainname.com.
-
Basically when you purchase a kvm/OpenVZ vps from vendor , they provide a hostname with private ip for management . the ip is providing by aliasing.
The hostname can be configured as follows:
Static host name assigned by sysadmin. For example, “server1”, “wwwBot2”, or “host.datahead.biz”.
Transient/dynamic host name assigned by DHCP or mDNS server at run time.
Pretty host name assigned by sysadmin/end-users and it is a free-form UTF8 host name for presentation to the user. For example, “Rubel’s netbook”.
I had the same issue , and I have fixed the issue . Please follow the below guide , it's really helpful .
Set Hostname Permanently
https://www.awsmonster.com/2019/01/cwp-installation-perquisite-set.html
Disable Network Manager & Set Static IP
https://www.awsmonster.com/2019/01/cwp-installation-perquisite-disable.html
And Finally use the command
chattr +i /etc/hostname