Seems many of the questions here are about default vhosts, but I have looked and am unable to find an answer for this one. The following similar questions didn't get any answers:
http://forums.cpanel.net/f5/dedicat...-74161.html?highlight=default+vhost+dedicated
http://forums.cpanel.net/f5/make-ap...208952.html?highlight=default+vhost+dedicated
On my server, to which I have root access, I have assigned a dedicated IP address to a couple of subdomains by following the instructions at Assigning Dedicated IPs to Subdomains.
This is working fine, but unlike my main shared IP address, which defaults to the default vhost template when accessed through anything other than the configured domain names, I've noticed that the dedicated IP defaults to the the vhost of one of the two subdomains I've assigned to it. (It was a bit of a shock to discover that some random 3rd party dns entry that happened to be set to the same IP address had started showing up in google with my website contents
)
Is there any way to set the default vhost for a dedicated IP address? A way that uses the cpanel config files rather than editing the generated httpd.conf would obviously be preferable, but if httpd.conf has to be edited, what's the best way to do it?
http://forums.cpanel.net/f5/dedicat...-74161.html?highlight=default+vhost+dedicated
http://forums.cpanel.net/f5/make-ap...208952.html?highlight=default+vhost+dedicated
On my server, to which I have root access, I have assigned a dedicated IP address to a couple of subdomains by following the instructions at Assigning Dedicated IPs to Subdomains.
This is working fine, but unlike my main shared IP address, which defaults to the default vhost template when accessed through anything other than the configured domain names, I've noticed that the dedicated IP defaults to the the vhost of one of the two subdomains I've assigned to it. (It was a bit of a shock to discover that some random 3rd party dns entry that happened to be set to the same IP address had started showing up in google with my website contents
Is there any way to set the default vhost for a dedicated IP address? A way that uses the cpanel config files rather than editing the generated httpd.conf would obviously be preferable, but if httpd.conf has to be edited, what's the best way to do it?