Is there a way to change our website address into a domain name. E.g – I am creating a intranet and just copying the server IP and port everywhere to open the web page. It looks odd to copy pasting the IP, so what should I do to give a domain name instead of IP address?
Make the system to resolve a domain name locally
domain-nameip
Best Answer
Try editing the hosts file (
C:\Windows\System32\drivers\etc
) and mapping http://xxx.xxx.xx.xx:8082/ to an address such as 'ArunsComputer` Keep in mind, that this would have to be done on all of these computers. There is a way to use a DNS server to do this, but editing the hosts file seems to be the simplest.You would add a line like this to the hosts file:
133.33.33.7 MediaServer
To edit the hosts file, follow these steps:
C:\Windows\System32\drivers\etc
and hit enter)133.33.33.7 MediaServer