80 Assign Domain Name To Localhost New

Click on add website in the actions pane.
Assign domain name to localhost. From the menu bar of notepad go to file open and open the following directory. On each machine you configure it with the hostname you want to reveal to the network in etc hosts on a real operating system or in whatever file windoze uses mapping the previously chosen static address to that name along with the usual 127 0 0 1 localhost. Run the server and test our work.
For this part you need to dig deep into the windows directory and modify the hosts file. Open iis click win r enter inetmgr in the dialog and click ok. Configure files to change localhost s domain.
Now you are ready to set domain name manually from your windows server iis. Change localhost with domain name run notepad as administrator. 3 add lines containing the domain name s and ip address to redirect to.
In the iis manager right click on sites click add web site. Use the following procedure. Below is the step by step guide to change localhost to domain name for xampp in a windows computing environment.
If you want to create a new website then that is possible for accessing using a domain name. Add website in iis. You may only enter 1 name per line.
Expand the server node and click on the sites folder. Or go to mycomputer drive c windows system32 drivers etc. There are a few reasons you d want to add a local dns lookup to your hosts file.