Hello,
Question: How can I prevent one of the websites from being called up at random when I enter https://IP-Adress in my browser? Is it possible to specify somewhere which website is called up?
Kind regards
Preventing random website calls when entering the IP address in the browser
I think it's about base directory? maybe you need to change your base directory when you adding new domain on your server.Meister wrote: ↑Wed Jan 24, 2024 11:47 pm Hello,
Question: How can I prevent one of the websites from being called up at random when I enter https://IP-Adressdownload lagu in my browser? Is it possible to specify somewhere which website is called up?
Kind regards
No, that's not it. It's clearly a bug that I reported years ago but still hasn't been fixed. I have now solved it like this:
in directory /etc/apache2/conf.d/IPAddress.conf the following content:
Listen IPAddress:8080
Listen IPAddress:8443
<VirtualHost IPAddress:8080>
ServerName IPAddress
DocumentRoot /var/www/html/
Alias /error/ /var/www/document_errors/
<Directory "/var/www/html/">
Deny from all
</Directory>
</VirtualHost>
<VirtualHost IPAddress:8443>
ServerName IPAddress
DocumentRoot /var/www/html/
Alias /error/ /var/www/document_errors/
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/vesta/ssl/certificate.crt
SSLCertificateKeyFile /usr/local/vesta/ssl/certificate.key
<Directory "/var/www/html/">
Deny from all
</Directory>
</VirtualHost>
in directory /etc/apache2/conf.d/IPAddress.conf the following content:
Listen IPAddress:8080
Listen IPAddress:8443
<VirtualHost IPAddress:8080>
ServerName IPAddress
DocumentRoot /var/www/html/
Alias /error/ /var/www/document_errors/
<Directory "/var/www/html/">
Deny from all
</Directory>
</VirtualHost>
<VirtualHost IPAddress:8443>
ServerName IPAddress
DocumentRoot /var/www/html/
Alias /error/ /var/www/document_errors/
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/vesta/ssl/certificate.crt
SSLCertificateKeyFile /usr/local/vesta/ssl/certificate.key
<Directory "/var/www/html/">
Deny from all
</Directory>
</VirtualHost>