I’ve a production sites on a local server. It’s network config is a static public IP and I’ve pointed a domain zone name to that IP.
Now, before I enabled dns-based multi-tenancy or ssl encryption using "let’s encrypt’, I could access my site using localhost. Now, whenever I try to access the site via localhost, I get “Sorry! We will be back soon”.
I can access both my sites using the domain names from another network and everything works fine. I can even access the sites from the server itself using domain names. but I can not access the sites using from other PCs from the same network as the server.
I changed the site1.local name, then enabled multitenancy and then used ssl encryption command. I’m not sure, in which point I did something wrong.
It is interesting to me that, when I can access the sites using domain names which points the public IP, but I can not access them directly using the IP.
Can anyone guide me what to do?