Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Using DNN with the NGROK serviceUsing DNN with the NGROK service
Previous
 
Next
New Post
3/16/2017 12:47 PM
Accepted Answer 
I use NGROK all the time for testing a third party service that needs to call our web service.

You have to add a portal alias for the portal and all the menu links work just fine.

I don't understand where the process is breaking down for you.

 
New Post
3/17/2017 11:09 PM
 

Great to know that NGROK works with DNN. That being the case it only remains to determine why it does not work for me. 

Here is the process that I am using.

Step 1)

Start the NGROK process

>ngrok http -region eu -host-header=bwig.pq.v04.01.d804.local 80

ngrok by @inconshreveable                                                                                 (Ctrl+C to quit)

Session Status             online
Account                       Daniel Bigelow (Plan: Free)
Version                       2.1.18
Region                        Europe (eu)
Web Interface                http://127.0.0.1:4040
Forwarding                    http://d7e629fb.eu.ngrok.io -> localhost:80
Forwarding                    https://d7e629fb.eu.ngrok.io -> localhost:80

Connections                   ttl     opn     rt1     rt5     p50     p90

                              0       0       0.00    0.00    0.00    0.00   

Step 2) 
Add the URL d7e629fb.eu.ngrok.io as a primary site alias, and for good measure also

d7e629fb.eu.ngrok.io/en
d7e629fb.eu.ngrok.io/de
then click Update

Step 3)
Connect NGROK to the running DNN instance on localhost by entering http://d7e629fb.eu.ngrok.io/en/ in the address field of a browser.

Step 4)
Observe that the home page of the website running on localhost appears in the browser at the URL in step 3.
GREAT

Step 5)
Click the Modules link.
The new page appears via localhost at URL: http://bwig.pq.v04.01.d804.local/en/Modules
BAD

Step 6)
In the address field, type Modules after http://d7e629fb.eu.ngrok.io/en/ to specify the URL to get 
http://d7e629fb.eu.ngrok.io/en/Modules
The new page appears via NGROK at URL: http://d7e629fb.eu.ngrok.io/en/Modules
GOOD, however this required a manual entry. Not really what I wanted.

As mentioned previously, when I hover over a DDR menu item the domain part of the URL (as shown in the bottom left of the window) is the localhost domain. Hence, it is not surprising that the page opens directly on localhost when the DDR link is clicked.

Any suggestions?

Daniel


 
New Post
11/16/2018 12:06 PM
 
Hello Jay

After a long delay I am back to this issue: using a localhost website via NGROK where all links remain relative to the reserved tunnel subdomain: devt-bigelow.eu.ngrok.io, which incidentally is entered in DNN as a primary site alias.
Here is the command and the response: 

ngrok http -region=eu -subdomain=devt-bigelow -host-header=rewrite "bwig.pq.v04.07.dnn804.local:80"

Session Status                online

Account                       BIGELOW Website Innovation GmbH (Plan: Basic)
Version                       2.2.8
Region                        Europe (eu)
Web Interface                http://127.0.0.1:4040
Forwarding                    http://devt-bigelow.eu.ngrok.io -> bwig.pq.v04.07.dnn804.local:80
Forwarding                    https://devt-bigelow.eu.ngrok.io -> bwig.pq.v04.07.dnn804.local:80

The test website (an old development clone) displays correctly at http://devt-bigelow.eu.ngrok.io, but the menus reference the localhost. Hence, a click on, for example the Process link opens the page at http://bwig.pq.v04.07.dnn804.local/en/Process, which of course is NOT visible to a client who is expecting the page to display at http://devt-bigelow.eu.ngrok.io/en/Process. I think the solution will require URL rewriting. I tried doing this within IIS, but my attempts there did not work. I definitely need some help from the community to solve this problem. Can you or anyone else suggest some ideas for me to try?
Best regards,
Daniel 



 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Using DNN with the NGROK serviceUsing DNN with the NGROK service


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out