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.

Redirecting a domain to a different domain

Discussion in 'General Discussion' started by ranlevi, Feb 5, 2013.

  1. ranlevi

    ranlevi Member

    Joined:
    Feb 1, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, guys.

    I've got two registered domains: domain.com and domain2.co.il.
    I'm hosting domain.com at a VPS, and it's working fine. I want to redirect domain2.com so
    it points to the same site. How can that be done?

    Note: domain.com is registered with Dreamhost, and domain2.co.il is registered with livedns, i.e., two different
    registrars.

    Thanks for the help!
    Ran
     
    #1 ranlevi, Feb 5, 2013
    Last edited by a moderator: Feb 5, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can add "domain2.com" as a parked domain name in your cPanel. Ensure you update it's name servers at the registrar so it uses name servers pointed to the cPanel server.

    Thank you.
     
  3. ranlevi

    ranlevi Member

    Joined:
    Feb 1, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks, Michael.
    I've add a parked domain.

    I don't understand what should I set at domain2.com registrar's DNS. Should I create an A record that points to my IP?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You should assign it the name servers that you have configured on your server. Or, if you do not use your own custom name servers, simply ensure it's "A" record points to the IP address assigned to the cPanel account. Additional DNS entries may be required at the registrar for MX records and subdomains if you do not use your own name servers.

    Thank you.
     
Loading...

Share This Page