Editing the hosts file in windows (HELP)

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

Editing the hosts file in windows (HELP)

Postby jacett » 21. February 2012 02:49


I recently edited the hosts file (%SystemRoot%\system32\drivers\etc)
on one of my Windows based computers to include a URL www.mysite.com

I use this for demonstation purposes
however, when I enter the URL in my browser it returns http://www.mysite.com/xampp/

How can remove the last bit that has been appended to the URL?
Posts: 1
Joined: 21. February 2012 01:29
Operating System: Windows

Re: Editing the hosts file in windows (HELP)

Postby Altrea » 21. February 2012 03:40

simply delete, move or edit your \xampp\htdocs\index.php file. It includes a redirect to the \xampp\htdocs\xampp\ folder by default.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
AF Moderator
Posts: 8244
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 65 guests