WordPress MU doesn't like running under http://localhost/
. Instead of using a simple hostname, it needs a two-part Fully Qualified Domain Name. We will need to edit our Windows Hosts
file so that we can use http://localhost.localdomain/
as a valid address for our local server.
Using your favorite text editor, open your
hosts
file. On most of the versions of Windows you will find this file atC:\windows\system32\drivers\etc
. Thehosts
file is simply calledhosts
with no extension, so you may not be able to see it in the File | Open dialog of your text editor. Instead, navigate to the correct folder, right-click on the file, and select Open.Leave any existing text alone. Add the following lines to the bottom of the file:
127.0.0.1 localhost.localdomain 127.0.0.1 slayercafe.localhost.localdomain
Save the file and browse to
http://localhost.localdomain
in your web browser. You should see your WAMPServer welcome page. Your antivirus software may warn...