We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Close ip access of my site
Close ip access of my site
Hi, can I directly in vesta cp,
to deny access to my site by server ip address? What would entering my site ip in the search bar not open my site, or give an error?
thank
to deny access to my site by server ip address? What would entering my site ip in the search bar not open my site, or give an error?
thank
-
- Posts: 10
- Joined: Fri Sep 27, 2019 8:34 pm
- Os: Debian 8x
- Web: apache + nginx
Re: Close ip access of my site
htaccess is probably the easiest solution - just add the IP;s you want to have access and create a custom 403 error page to show for users who are locked out from accessing the site.
(either deny from all and allow ip;s, or allow from all and deny ip;s, either way works)
(either deny from all and allow ip;s, or allow from all and deny ip;s, either way works)