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.

Point one domain to another

Discussion in 'General Discussion' started by alexeg, Jul 29, 2009.

  1. alexeg

    alexeg Registered

    Joined:
    Jul 29, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have three domains:

    [mydomain].com
    [mydomain].be
    [mydomain].nl

    I want to point both .be as .nl to the .com without a redirect. This means that if the user fills in

    [mydomain].be/somecat/somepage

    he needs to remain on [mydomain].be. A 301 will not do this.

    I understand that a CNAME record in DNS will help me. However, I can't figure out how to do this in WHM. I tried to create a new DNS zone, and add a CNAME entry in Edit DNS, but it just doesn't work. I still get the

    >> Great Success !
    >> Apache is working on your cPanel® and WHM™ Server

    message... Can someone help me what I need to do to fix this?

    Thanks!!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    All you need to do is park the 2 domains on top of the other (main) domain. Be sure to remove any DNS entries you have manually created so that cPanel can add appropriate DNS entries without issue.

    With parked domains, we use aliasing rather than redirects so the user still sees the domain they typed in when they look in their address bar.
     
  3. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Parking as mentioned will solve this issue. Parking actually create an Alias name for the parked domain within the same configuration section of the parent domain. So the web files for all those domains will be same.
     
  4. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Domain parking will solve your issue. But note that to park a domain you should register the other two ".be and .nl " and point these to your server properly.

    Park domain is simply an alias to the main domain ( in your case .com ). means its Document root will be same as that of the main domain.

    You can add the parkdomains from your main domains c-panel
     
Loading...

Share This Page