Redirecting a domain to a different domain

ranlevi

Member
Feb 1, 2013
6
0
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
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

ranlevi

Member
Feb 1, 2013
6
0
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.