Page 1 of 1

How can i change "localhost"

PostPosted: 21. September 2015 12:24
by trelos8
Hello all!!

I want to change the pathway localhost/test to
local.test.com

How can i do that?

Re: How can i change "localhost"

PostPosted: 21. September 2015 12:42
by Nobbie
1) Edit httpd.conf and change the value of DocumentRoot to c:/xampp/htdocs/test

2) Edit the Windows Hosts file (see Wikipedia if in doubt) and insert one line:

127.0.0.1 local.test.com


Restart Apacher after.