Open the httpd.conf file and search : DocumentRoot. You can find it the first time at line with the content :
Change the path of folder that you want.# DocumentRoot: The directory out of which you will serve your# documents. By default, all requests are taken from this directory, but# symbolic links and aliases may be used to point to other locations.#DocumentRoot " C:\xampp\htdocs "
And the next DocumentRoot is :
Do it again with the same path before.## This should be changed to whatever you set DocumentRoot to.#<Directory " C:\xampp\htdocs ">## Possible values for the Options directive are "None", "All",# or any combination of:
Restart the Apache service of Xampp . Check your work ! ^^