The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Domain Mapping

Discussion in 'General Discussion' started by rayangel, Jul 21, 2010.

  1. rayangel

    rayangel Registered

    Jul 21, 2010
    Likes Received:
    Trophy Points:
    Hello Everyone!

    I just got started on a new VPS server and got myself a license for WHM / cPanel and have been thus far pretty happy with it.

    I've got a need though and I've been trying to figure out how to make everything work but just leave myself more confused as I try new things to make it work.

    Any help that could be given would be most appreciated as I've been trying for several hours no without any success.

    I've got a machine that is on an IP address. I'll use 555.555.555.5 as my generic address for the purpose of this post.

    On this machine I am running WHM and cPanel.
    cPanel 11.25.0-R46156 - WHM 11.25.0 - X 3.9
    CENTOS 5.5 i686 virtuozzo on server

    I have been given a dedicated IP address for this machine which was pretty critical to what I am trying to do.

    On the machine I plan on hosting one primary domain running Wordpress Multisite.

    I created an account on the machine that we will call sample.

    When I visit http://555.555.555.5/~sample the page loads.

    I setup the proper NS records and got my DNS setup properly so when you visit » Free Samples, Free Product Samples, Product Test Marketing it loads the website properly.

    Since this is a multiuser Wordpress setup I also setup a *. subdomain in the cPanel at

    This works great. It allows me to visit and get the proper page that I want to see.

    This works great for me but I need more. I'm looking to offer users the ability to map domains to blogs in Wordpress. So I've installed domain mapping plugins and they are properly configured.

    So I create a CNAME for a second domain. We will call this one

    When I visit I get a redirect to the URL

    When I visit the machine IP http://555.555.555.5 I also get the same URL. Obviously this isn't correct and I want that IP address to also load the proper site.

    I've done some reading on VHOST and I know that is the way to go but I'm pretty confused.

    Was my mistake in creating a cPanel account?

    What are your thoughts as I'm pretty confused at the moment.

    The desired behavior is that http://555.555.555.5 will go to the account named sample. I believe once that is corrected everything else will fall in place.

Share This Page