Mobile app version of vmapp.org
Login or Join
Connie744

: WHM cPanel Accounts Split DNS I've dug around the web without much luck in finding a solution. Hopefully I can get some insight here. I have a VPS with a dedicated IP address running WHM.

@Connie744

Posted in: #Cpanel #Dns #Whm

I've dug around the web without much luck in finding a solution. Hopefully I can get some insight here.

I have a VPS with a dedicated IP address running WHM. Let's say I have two cPanel accounts in this example.


ip.address/~user1 has an addon domain domain.com which has both email and web localhost. We want to keep the email here but point the web to a second cPanel.
ip.address/~user2 has their website but will not have their email here as it will stay at user1.


There doesn't seem to be a straightforward approach to this so I am looking for any feedback.

Revised question

After some more research on different approaches I want to clarify my specific situation.

Per the example above, ip.address/~user1 has their domain.com as an addon and both web and email are localhost. The destination for the web host is at ip.address/~user2, however it is a WordPress MU site setup as subdirectories. So the destination for the domain.com new website, on the same VPS but in a different cPanel, looks like multisite.com/user1-domain

Would it be possible to create a CNAME record for domain.com web host so web traffic at that address, domain.com, sees the MU site? I hope that makes sense.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

1 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

What you are trying to do is incredibly difficult to do using WHM as cPanel/WHM is simply not designed with this use-case in mind. The easiest solution would be adding a second IP address which has been identified in the comments however if that is out of the question then in this case it would almost be easier for you if you where to remove the WordPress multi-site from the cPanel server and move it onto its own virtual server under the Apache default vhost. Then you can provide the servers IP address for all DNS entries for sites that are hosted through the WordPress multi-site. This would have the added benefit of not requiring configuration changes to the server and so not needing service restarts every time a new site is added to the WordPress multi-site installation.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme