LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How do i use a hostname given by No-IP as my machine name? (http://www.linuxquestions.org/questions/linux-networking-3/how-do-i-use-a-hostname-given-by-no-ip-as-my-machine-name-246146/)

z-vet 10-22-2004 07:07 PM

How do i use a hostname given by No-IP as my machine name?
 
Hi all.
I use a No-IP service for my server. I want a hostname i have from No-IP to be my machine's name instead of one i get from my ISP. How do i need to configure it?

UsualTuxpect 10-22-2004 07:27 PM

check out the /etc/hosts file..

z-vet 10-22-2004 07:39 PM

UsualTuxpect

Checked. That's what is inside:
Code:

127.0.0.1        localhost
What i need to do? To add a line with hostname i get from No-IP?

UsualTuxpect 10-22-2004 08:06 PM

just comment that line[ie. put a hash] -->#127.0.0.1 localhost

and add this line

127.0.0.1 zvet.NO-IP.com zvet


All times are GMT -5. The time now is 07:43 PM.