Quote:
Originally Posted by normscherer
I'm not sure I understand what you are trying to do. If you are trying to assign a given ip address to your host you can do that in /etc/hosts (try man hosts). You need to be aware that ip addresses are assigned on a global basis and you can not just use one like the one you gave as an example. Specific address groups are allocated for private network use and may be used by anyone. Examples are 192.168.nnn.nnn for class c networks.
Norm
|
Hi,
Thank you for your help but I should try to be more clear I guess.
For example there is a website like linuxquestions.com and at home when I type the ip of this website I would like it to take me to my localhost. Sounds silly for this case I know...
I have a device always trying to connect to a website and basically I am planning to give it my localhost and config files at localhost.
I did this with a weird way though but I believe there should be a way to do this in linux and I wonder how I can do it.
Thank you