PDA

View Full Version : [ubuntu] Internal Address



ikartz
October 11th, 2011, 10:05 AM
Hi
I want to give an internal address to my pc, example: mywebsite.net

To do this I changed hosts file by adding:


mywebsite.net name_of_my_machine


After that I restart the pc and I couldn't have it working. So I tried with:

mywebsite name_of_my_machine

and after the reboot it worked, I'm wondering why I can't use .net or any other thing since its in the internal network

newbie-user
October 11th, 2011, 07:07 PM
for my hosts file, I added the ip address of the machine:

192.168.1.12 mydomain.com machine

jonobr
October 12th, 2011, 12:20 AM
Im missing something?

Adding entries to the host file attached using your example.
However, in the words of Monroe,
"Im not very bright I guess"