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.
How do I disable direct IP access?
-
- Posts: 6
- Joined: Sun Jun 08, 2014 4:30 pm
How do I disable direct IP access?
When I access my direct server IP, I connect to my website. However, I would like this not to be possible. How do I block direct IP access vía my server, so they get a forbidden error, or a error of some sort.
Re: How do I disable direct IP access?
its normal for apacheWhen I access my direct server IP, I connect to my website
by default, you can see a domain which is the first in the apache config
you can create any default domain, and make it first in the configuration file of apache (editing virtual hosts in apache.conf or httpd.conf)
Code: Select all
/home/user/conf/web/