Reputation: 83
How can i change the root directory of the currently installed wampserver to some other directory. I have change directory location from httpd.conf like. I am using Hash tag before Dcoument root, and Directory but for new root i have new line without hash tag.
#DocumentRoot "c:/wamp64/www"
DocumentRoot "G:/04-WebSites/NEW_WORK"
#<Directory "c:/wamp64/www/">
<Directory "G:/04-WebSites/NEW_WORK/">
C:\wamp64\bin\apache\apache2.4.18\conf\httpd.conf
after many time restart server, pc, wamp server still showing www/index page.
Upvotes: 8
Views: 15010
Reputation: 21
For detail blog go here : https://phantomthemes.com/how-to-change-the-www-root-directory-on-wampserver-3/
let me know if it doesn't work
Upvotes: 2
Reputation: 206
You need to change these values also in httpd-vhosts.conf located in \conf\extra
Upvotes: 19