I can't type Chinese characters, sorry for that.
if you have just 2 PCs, the simplest method is modifing your local hosts file
if you have more PCs, you can setup a local DNS server, there are bunch of DNS servers you could choose, for instance, ntbind or bind( on linux)
when you hava had a private DNS server, you can let you DHCP server to use that, and all clients will use that automatically.
then, you can setup you own http server, ftp server and so on, to simulate some websites, ftp servers or others. the only thing you should remember is to put you domain address to the server you built.
additionlly, you could use special soft-route os for x86 as well, like routeos or hi-spider, they privide an out-of-box solution to meet your requirement.