Set Default Website for Shared IP

Michael Legg

Well-Known Member
Mar 2, 2015
84
6
58
New Farm, Queensland, Australi
cPanel Access Level
Website Owner
I know this question has been asked a thousand times before, but I can't find a solution that works.

All I want to is control what web site is loaded when the shared IP address of my server is entered over https. e.g https://111.222.333.444/

I tried this - https://support.cpanel.net/hc/en-us...et-a-default-VirtualHost-for-each-IP-address-

But Apache died when I added even the simplest vhost entry ...

<VirtualHost 10.0.1.1:443>
ServerName 10.0.1.1
DocumentRoot /var/www/html
</VirtualHost>

Has anyone been able to get this to work? *** In a way that cPanel won't overwrite at the next update ***