Help - Search - Members - Calendar
Full Version: Preventing cPanel making a virtualhost
The Planet Forums > Control Panels > cPanel/WHM
OllieMaitland
I have a setup where sometimes I want another server to handle all requests apart from the mail so I have a setup like this:

CODE
domain.com A record        => non-cpanel Web Server

mail.domain.com A record  => localhost

MX for domain.com           => mail.domain.com

www.domain.com            => non-cpanel Web server

...other A records


So it is clear that I don't need a virtual host entry for domain.com on the cpanel server... is there a way to stop it making one for a particular package of feature set?

Any pointers would help loads!
eddy2099
CPanel like any other control panel was made to allow you to set up multiple sites on the servers and to do so, it sets up each site as a virtual host. If it does not do so then Apache can handle only one site and that would defeat the very purpose of a control panel in the first place.

The only way not to use Virtual Host would probably be not to use a control panel in the first place.

However even with a virtual host set up, you should be able to handle what you need. It is just a matter of setting the DNS to point certain services to certain servers which handles the job.

You can set up the 'A' record to point to an IP address of the non-cpanel web server and points the 'mail' to the one on the Cpanel Server.
OllieMaitland
Thanks, i just wanted to be neat ;o

I guess i'll just have to get another cpanel server to run in a cluster but I dont want to use UWIMAP any more :/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.