Search code examples
iisnetwork-programminglanintranet

Assign Hostname to Intranet IIS Website


I'm trying to create a website with IIS that is accessible from the Intranet (LAN) of my corporation. This website will display various infos.

Currently, to connect to the webpage, I have to enter 192.168.1.24 (The address of the server running IIS) into any computer that is on the same LAN. It is my hope to have employees type in http://CorporationName.com or even CorporationName to be brought to the website.

I believe the solution to my problem may lie in editing the hosts file to redirect CorporationName to 192.168.1.24. Would that change take place on the Server, or on each client machine that is trying to access it? The latter doesn't really seem feasible / convenient.

Thanks for your help!


Solution

  • You'll need to get someone (IT department, maybe) to assign that machine a permanent IP address and a name in the internal DNS server.