LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/hosts (https://www.linuxquestions.org/questions/linux-newbie-8/etc-hosts-66891/)

eggoz 06-20-2003 02:15 PM

/etc/hosts
 
Just wanting to make sure my host file is correct.

127.0.0.1 backup localhost.localdomain localhost
192.168.0.7 imagiro-1.com backup

192.168.0.7 is the ip i get with ifconfig.

Here is what I don't understand. imagiro-1.com is a domain i bought. But when you try to access it, it goes through the dyndns service to find out my ip. I took it one step further by adding a router, so to access my linux machine, the addy would look something like this... linux.imagiro-1.com. After it goes through dyndns, it looks something like pavilionhome.dyndns.org:90. The key being the port redirecting it to the computer.

BigNate 06-20-2003 02:21 PM

there is a man for host. The syntax is shown right in threre.


All times are GMT -5. The time now is 11:39 AM.