wampvirtualhostngrok

Ngrok 3 virtual host with wamp 3.3.1


I am trying to view my local site on another terminal. However, the site does not display.

On the Ngrok terminal: ngrok.exe http 80

On the local server's httpd-vhosts.conf file :

<VirtualHost *:80>
  ServerName test.local
  serverAlias aee9-89-85-88-146.eu.ngrok.io
  DocumentRoot "c:/wamp64/www/dev/test"
  <Directory  "c:/wamp64/www/dev/test/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
</Directory></VirtualHost>

I specify that the chrome browser displays the dns_probe_finished_nxdomain error. Besides, when I don't modify the httpd-vhosts.conf file, I do have access to localhost, phpMyAdmin, phpInfo, etc.

Thank you for you precious help


Solution

  • For people who have the same problems as me when they want to use NGrok for a Wordpress site... they can just use Local WP. A kind of Wamp, reserved exclusively for Wordpress sites.

    It worked for me. And what's more, there is no need for third-party software. Local WP does both the work of wamp and Ngrok.