Hey guys,
I built a whole web server of apache2 MariaDB PHP 8.1.2 for osTicket 1.18.1, setup a domain with SSL is working fine, but when I using server IP address access directly got message of Your connection isn't private, the file of index.html was deleted from /var/www/html and my osTicket directory is /var/www/html/osticket, the
<VirtualHost *:80>
ServerName mydomain.com
ServerAdmin admin@localhost
DocumentRoot /var/www/html/osticket/upload
<Directory /var/www/html/osticket/upload>
Require all granted
Options FollowSymlinks
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/osticket.error.log
CustomLog ${APACHE_LOG_DIR}/osticket.access.log combined
</VirtualHost>
Is possible setup 403 forbidden or blocked when using server IP address access? or redirect to osTicket system?
Thank you.