New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Hostname adding 127.0.0.1

Started by elcapitanph, January 27, 2019, 09:21:19 AM

Previous topic - Next topic

elcapitanph

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

Netino

This already happened to me.

I just could solve it changing manually the file '/etc/hostname', and executing:


chattr +i /etc/hostname


Regards,
Netino

helud

Quote from: 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


I solved it by putting a dot at the end.

Try  us.domainname.com.

glorency

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