If you only want to specify a fake domain name for demo purposes on your development computer, you can add a line to your hosts file (usually located in / etc / hosts on UNIX / Linux systems):
127.0.0.1 localhost
192.168.1.121 google.com
Then, when you open the google.com domain name on your computer, it redirects you to the specified IP address.
, , . , .
, , - google.com, hosts.
Windows , , hosts ( ):
Windows XP/Vista/Windows7:
c:\windows\system32\drivers\etc\hosts