Results 1 to 2 of 2
Hello all,
I have a computer called simba - it is sitting behind a DSL Router (local network)
As of now, I am behind (within) the local network, I can ...
- 06-09-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 33
Computer Hostname
Hello all,
I have a computer called simba - it is sitting behind a DSL Router (local network)
As of now, I am behind (within) the local network, I can do ping simba and get a response. The IP address is something like 192.168.X.X.
The router has a name of something like : pridelands.com.
On the outside, if I do a ping simba.pridelands.com, I would like to be able to get a response. The IP Address would be something like 68.204.X.X.
But
I would like to do ping "simba.pridelands.com" from behind the router too and get a response too. i.e. something like 192.168.X.X
So, again ..
I want to be able to do "ping simba" and get a response from behind (inside) the local network (i.e. 192.168.X.X)
And ...
"ping simba.pridelands.com" and get a response from behind (inside) the local network. (i.e. 192.168.X.X)
And ...
"ping simba.pridelands.com" on the other side (i.e. outside) the local network and get a response. (i.e. 68.204.X.X)
Any ideas? Would I do something to the /etc/hosts file?
TIA
- 06-09-2009 #2
While your are on your Local Domain, behind the router
Whenever you do a query about a name
/etc/hosts will be referred first.
If hostname isn't defined it will send a query to DNS server.
To let it ping properly inside the network edit the entries in /etc/hots like this.
This will allow to ping 192.168.X.X with both names.192.168.X.X simba.pridelands.com simba
(If you don't want to add entries in all machines on the same domain, use a DNS server)
This one was quite easy.
But letting your machine pinged from outside is quite different.
It will need a Domain name registered in Public domain, having '*' Wildcard support.
If you have pridelands.com domain registered, check if it have wildcard support.
You will also need NATing/Routing between your router and machine to be accessed from other machines from Public domain.


Reply With Quote