I have installed CP on my local development machine. How to make sites accessible locally? From localhost or my.domain.int. The IP that CP picked up is my router IP, there are no sites on it. I need access to http: // localhost http: // localhost / phpmyadmin, chage IP to 127.0.0.1
Did you try to edit your hosts file?
These settings were after installation. Localhost is always bound to 127.0.0.1, but it is not possible to select 127.0.0.1 in the panel. Sites are not responding.
I mean. Your web server is configured to serve the http petitions if it is asked to serve a domain.
You are trying to see localhost or 127.0.0.1 which are not defined as website domains in Hestia so the webserver says that it can’t give you the website.
So in order to make it work, edit the hosts file in your computer to point the websites to the ip of the server you want to connect to.
This is in my hosts file:
But I am getting ERR_CONNECTION_REFUSED error when I try to visit alex.example.com site.
Because it points to my home IP, like 18.104.22.168. And 127.0.0.1 doesn’t work. You cannot add 127.0.0.1 in the panel. I need to change IP 22.214.171.124 to 127.0.0.1. How to do it?
Currently there is no official way to do it, it just isnt the way how hestia is susposed to work . If you want to setup a local development infra, I suggest you to use something like xampp (https://www.apachefriends.org/). You can still build up a testing structure on a vps, so you could use hestia alongside its whole features like let’s encrypt and so on.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.