I am running a debian machine with ISPConfig 126.96.36.199. Yesterday I purchased a RapidSSL wildcard certficate and want to make sure my IPSConfig always loads the admin.mydomain.net url. Even if the user connects to the IP, I want the IP to re-route to the page.
How can I do this? I added the following in the top of my
000-ispconfig.vhost file, but I got the
What I added:
<VirtualHost XXX.XXX.XXX.XXX:443> ServerName admin.mydomain.net ServerAlias mydomain.net Redirect permanent / https://admin.mydomain.net </VirtualHost>
How can I make a https connection on my IP adress redirect the user to admin.mydomain.net?