- Code: Select all
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:\xampp\xampp\htdocs
</VirtualHost>
<VirtualHost *:80>
ServerName www.animelook.net
DocumentRoot C:\xampp\xampp\htdocs\animelook
</VirtualHost>
#
Here is my C:\Windows\System 32\Drivers\etc\hosts stuff:
- Code: Select all
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 www.animelook.net
I tried replacing 127.0.0.1 with my IP in this file, but it did nothing. What should I do?
K-kun