Can't visit the website

1. Caddy version (caddy version):

v2.1.1, installed on Debian 9

2. My Caddyfile

read.domain.com {
 tls ssl@domain.com
 reverse_proxy 127.0.0.1:8008 {
  header_up Host {http.request.host}
  header_up X-Real-IP {http.request.remote}
  header_up X-Forwarded-For {http.request.remote}
  header_up X-Forwarded-Port {http.request.port}
  header_up X-Forwarded-Proto {http.request.scheme}
 }
}

2. The issue I meet

In this way, I can successfully access my site read.domain.com on a server (Debian 9), and now I moved this site to another server(Debian 9, Same configured server, but different ip), using the same Caddyfile, but the site is inaccessible, get error

This site can’t be reached 
read.domain.com took too long to respond.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_TIMED_OUT

Why is this? Do I need to cancel the let’s certificate on the old server before applying? Thank you so much.

I found the reason, thanks

Could you please elaborate on what the solution was for the next person to come along?

3 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.