If you only want to access it by Domain Name,
if you in LAN, and have a DNS, then configure Domain Name on DNS
else
if you have network card
set static ip in TCP/IP and /
set your hostname and domainname in the DNS configure
else
edit the hosts.sam file under window directory.