Hosts configuration on home wireless router

Posted on


I have a home network working via a ADSL Wireless Router (Sagem F@st 2804).

Also, I have a web server working on my pc and some virtual hosts on it. I want to make those hosts to be accesable via the whole home network, not only on my pc.

I was trying to find a configuration options for this in router web interface, but there is nothing related to HOST->IP configuration.

So now I’ve connected to the router via telnet. The question is: how to configure “hosts” via telnet on my router? I don’t have a lot experience with console commands.

The thing I want is that if I go devsite.loc on my ipad it goes to

These commands I have via telnet connection
telnet console screenshot

Maybe there is another way to connect to the router?


It depends on the router you are using. Check under the DNS tab in your router’s configuration page. If you can telnet into the router, check if it has vi or pico installed and edit /etc/hosts.

Leave a Reply

Your email address will not be published. Required fields are marked *