Code: cho server1.example.com > /etc/hostname /bin/hostname -F /etc/hostname as it shows is the how to ..perfect setup! the thing is that i don't understand what it does exactly! i replaced server1.example.com with the one i use ( ady.xhost.ro ). hostname shouldn't be replaced with the nostname name i gave during installation ( e.g.: host1 )? i followed the 2 stepts and no message replied! is that good or what?
It gives your system a new hostname. That's ok. Which installation? That's normal. You can check your new hostname by running Code: hostname or Code: hostname -f
The Perfect Setup - Debian Sarge (3.1) - Page 3 installation. i ran " hostname " and it worked i ran " hostname -f " and it replied Code: hostname: hostname lookup failure ...why is that? does it need to be connected to the internet to reply a positive answer? thx very much falko! & till! you've helped me so much! thx again!
when i run " hostname " the output is Code: upload4me.ws43.com as i intented to be. when i run " nano hostname " ( i don't know if this is the way i should ).. thers is nothing there ( inside the file? ) in /etc/hosts , suppose using Code: nano /etc/hosts there is : Code: 127.0.01 localhost.localdomain localhost adeekos # The following lines are desirable for IPv6 capable hosts ::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 ...allthough i don't know what each mean
First, the line: 127.0.01 localhost.localdomain localhost adeekos must be: 127.0.0.1 localhost.localdomain localhost adeekos Then there should be a line with your hostname and your IP like this: 192.168.0.1 upload4me.ws43.com You must replace 192.168.0.1 with your server IP.
I have this in /etc/hosts Code: 127.0.0.1 localhost.localdomain localhost alcon # The following lines are desirable for IPv6 capable hosts ::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 Would it be correct if I added this line? Change X with corresponding numbers: Code: 200.104.X.X mundohosting.cl Or would it be necessary to put subdomain.mundohosting.cl ? Note that 200.104.X.X is my public IP. Many thanks.