How can i change "localhost"

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How can i change "localhost"

Postby trelos8 » 21. September 2015 12:24

Hello all!!

I want to change the pathway localhost/test to

How can i do that?
Posts: 1
Joined: 21. September 2015 12:16
Operating System: windows xp

Re: How can i change "localhost"

Postby Nobbie » 21. September 2015 12:42

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:

Restart Apacher after.
Posts: 8642
Joined: 09. March 2008 13:04

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 58 guests