How to change default browser to open localhost in wampserver

To change the default browser for the tray icon:

  • Open C:\wamp in Windows Explorer (or wherever you installed wampserver)
  • Open wampmanager.conf in a text editor

    • Find the section [main]
    • Find the following line:

      navigator = "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
    • Replace it with:

      navigator = “C:\Program Files\Mozilla Firefox\firefox.exe”
  • Save the the file
  • Restart the tray icon

Open your wampmanager.conf file in a text editor; it is usually in C:/wamp/wampmanager.conf.

Under the section [main], you will find the key navigator. Change its value to the path of your browser. For example:

navigator = "C:/Program Files/Mozilla Firefox/firefox.exe"

Restart the wampserver tray icon.