Tunnel connecting two different domains

Hi,

I have one tunnel with two public host names configured pointing to
Site1.com and Site2.com. Site1 is on 1443 and Site2 is on 2443. Problem
is when I try to access Site2 it always is directed to Site1.
/var/www/html/site1
/var/www/html/site2
Configured on ubuntu/nginx

Any suggestions?

Thanks,
Tomas

Do you have any redirects configured on the server or in the application? Are you seeing a redirect response from the server or is it serving the content from site 2?

1 Like

Hi,
Turns out I had changed wordpress on site1 from IP to domain without updating the wordpress configuration, so wordpress was re-direction me.

-Tomas

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.