Support

Home Forums Event Espresso Premium Localhost reference

Localhost reference

Posted: November 3, 2014 at 4:08 am

Viewing 8 reply threads


Sérgio Brito

November 3, 2014 at 4:08 am

Hi,

We have setup a reverse proxy from IIS to an apache instance where we’ve installed wordpress and EE4. Whenever we click on the Finalize Registration button, it redirects us to the thank you page but on localhost which naturally lands us the “This webpage is not available” error.

How is the redirect address generated? Where does it get the localhost from?

Thanks


Lorenzo Orlando Caum

  • Support Staff

November 3, 2014 at 9:08 am

Hi Sergio,

Officially, we do not support Windows based servers. Are you saying that this works on the remote site but shows an error on the local site on your computer?

The redirect begins the session that holds the registration information for the attendee/registrant.


Lorenzo


Sérgio Brito

November 3, 2014 at 9:28 am

Let me try and explain a bit more. Our web server where we have our corporate site is a windows server. All traffic needs to go through it.

We’ve installed a WAMP server on that machine where we have WordPress and your plugin installed. IIS serves as a ReverseProxy for that wordpress site. Have a look at http://www.apfipp.pt/wordpress.

Everything works fine until I try to finalize the registration when it redirects to the localhost instead of the domain name.

Hope that helped.


Lorenzo Orlando Caum

  • Support Staff

November 3, 2014 at 3:04 pm

Hi,

We use Nginx and Apache and are not familiar with reverse proxy using Windows servers.

I was able to find this article that talks about the setup:

http://mendel129.wordpress.com/2013/08/13/iis-as-a-reverse-proxy-for-apache-and-wordpress/

At the end of the article, there is a mention about an outbound rule. Is something like that currently setup?


Lorenzo


Sérgio Brito

November 4, 2014 at 4:26 am

Yes, we have it configured somehow similarly. How can I debug to see what address is being generated?


Sidney Harrell

November 4, 2014 at 12:12 pm

Usually what I will do is inspect the element and look at the html, grab some of it, then search the EE code for that piece of html. That will give you a trail you can follow until you find the code that generates the address, then dump the var to a log file.
It’s possible that, if you developed the site on a local machine, then migrated it to the live server, that some of the references to localhost are hanging around in the DB. I would look there, as there isn’t really any reason why EE would be making a reference to localhost unless it was pulling that from somewhere in the DB.


Sérgio Brito

November 5, 2014 at 3:00 am

thanks! I’ll look into that option.


Sérgio Brito

November 6, 2014 at 2:52 am

After trying to debug for quite a while without success, decided to simply install wordpress on our IIS server.

That solved the problem.

I guess the reverse proxy wasn’t quite working correctly. Nevertheless I’ll give it a go o a development server to see if I can solve the issue for the sake of it!


Dean

November 6, 2014 at 4:34 am

Hi Sérgio,

Thanks for letting us know that you got it working (although by a different direction).

Viewing 8 reply threads

The support post ‘Localhost reference’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso