20 Creating Custom Domain Name Instead Of Localhost In Windows New

It probably already contains a line about 127 0 0 1 in which case you just add your alias to the list 127 0 0 1 localhost localhost localdomain myappname you can then change the server.
Creating custom domain name instead of localhost in windows. If you are using windows 98 that is somewhere else and if you are using windows nt or 2000 that is at another place. See the section in the red box in the image above. For me when i found that i can change localhost address to a domain.
Now you need to configure the home page for your custom domain. In order for the browser to resolve this custom name you will need to add an alias to your etc hosts file. Left click on the wamp icon in the notification area and click on www directory.
Use the following procedure. A domain is usually run by a domain server its not something intended for small local networks. The hosts file for unix.
The location of the entry of localhost depends on the operating system you have. First create a file domains ext that lists all your local domains. But the file where the entry exists is the same.
Each line must begin with the address 127 0 0 1 this is the localhost address after the ip address type the name of the domain you wish to redirect to this address. Setting up a custom domain name instead of a localhost will help you when testing of many things such as redirecting a non www to a www website or vice versa or redirecting from http to https before publishing a website to the production hosting environment. 3 add lines containing the domain name s and ip address to redirect to.
Preparing the website to launch on your browser. Have you ever thought about how to change or rename your localhost address with a domain name you like. Windows system32 drivers etc in windows vista 7 and 8.