did you edit /etc/hosts with your host?
in etc/resolv.conf you must enter the nameserver.... I think after HDD installation this file is set to default again...