answersLogoWhite

0


Best Answer

Localhost is always IP address 127.0.0.1. This is also known as the loopback address because every machine uses this same address to refer to itself. You do not have to do anything special to set this up. That is; you do not require a DNS (domain name server) to resolve the localhost name to IP address 127.0.0.1 because it is "hard-wired".

If you have a local webserver running, entering "localhost" or "127.0.0.1" in your browser will bring up the default page for that server. Other machine's on your network can also access your local webserver, but they must use your machine's local area address or the machine name to access it (if they use localhost they'll simply refer to themselves). If you do not have a webserver running, your browser will simply tell you that the web page is not available. Setting up a webserver is simply a matter of installing one. Consult the webserver documentation for information on configuring it.

User Avatar

Wiki User

βˆ™ 9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

βˆ™ 9y ago

The localhost is your own machine. It has the fixed address 127.0.0.1, so there's nothing to configure.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you configure localhost?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When was .localhost created?

.localhost was created in 1999.


What are the advantages of localhost?

It has no advantages or disadvantages. localhost is a domain name that represents your computers local IP address.


How can you edit a host file on a mac?

Mac OS X has a simple file in hosts which is being consulted prior to DNS, to add a "local", you can resolve or edit the file with any simple text edit software, like textedit, pico or vi (make sure you have root priv.) And add the Vip number and than the hostname at the same line. Below is the default hosts file from my system (10.5) Make sure not to change what's written in the file, but only add to it. # Host Database # Localhost is used to configure the loopback interface when the system is booting. Do not change this entry. 127.0.0.1 localhost 255.255.255.255 broadcasthost : :: 1 localhost fe80::1%lo0 localhost


What is a-localhost net?

a-localhost.net is an internet location that provides 'shortcut syntax' (intuitive, easy to remember) urls providing 'direct' access to internet connected resources and services intended for use by 'a localhost'. 'A localhost' is defined as 'the local computer (or device)' (ie. the computer/device you are currently using is considered the 'localhost)'.


How do you install PHP on windows?

To test PHP on your computer you can use a localhost. I use XAMPP for my localhost and it hasn't failed me yet.


What website will let you on all web sites?

localhost


What can verify TCP IP is installed?

TCP/IP can be verified as installed and operating by using the 'ping' command against the localhost address: ping 127.0.0.1 or ping localhost


How do you get to your Minecraft server?

go to to direct connect and type in localhost


Which command is equivalent to the command PING Localhost?

ping 127.0.0.1


What did Assyrians farm?

It is rich in grain, meat, potato, and tomato, with rice usually served with every meal accompanied by a stew which is typically poured over the rice. Tea is a popular drink, and there are also several dishes of desserts, snacks, and beverages.


Are there any variations on the localhost option that perform the same task and What are they?

From my understanding there are no variations on the localhost option that perform the same task though a cytoplasm or remote host can perform similar task.


IP address is invalid?

If you are trying to connect to your own network or "localhost" Try typing in: 192.168.0.1 or 127.0.0.1 or http://localhost But typing in your Public IP address will not work Hope this answered your question