Change the www root directory on WampServer

If you do not wish to use “c:/wamp/www/” as your DocumentRoot you simply have to perform the following steps:

1. Click on the WampServer icon

2. Select Apache > httpd.conf

3. Search for “DocumentRoot”

4. Change the path to whatever you wish to be the new Document root directory (make sure to use a forward slash instead of a back slash)

5. Search once again for “DocumentRoot”

6. You will find something like: “”

7. Once again change the path to whatever you wish to be the new Document root directory (make sure to use a forward slash instead of a back slash)

8. Save your changes

9. Click on the WampServer icon

10. Select option “Restart All Services”

Be the first to comment

Leave a Reply

Your email address will not be published.


*