We can use C:\WINDOWS\system32\drivers\etc\hosts file to map hostname with IP addresses like this
127.0.0.1 localhost
But is it possible to assign one hostname to another like this?
localhost a_new_host_name
|
We can use
But is it possible to assign one hostname to another like this?
| |||||||||
feedback
|
|
From wikipedia :
| |||
|
feedback
|
|
You could put in the hosts file:
Beyond that, I think you would need to set up a local (or nearby) DNS server with CNAME entries to map localhost to some other host (and you'd have to remove 'localhost' from the hosts file for this to work). | |||
feedback
|
|
You may have got the impression that some kind of 'redirection' is possible from things like
in your The Internet has a number of sample | |||||
feedback
|