Pointing two domain names at one host in order to change a domain name

wileyl

Registered
Jan 4, 2013
1
0
1
cPanel Access Level
Website Owner
Hi, I am new to cPanel. I searched for this topic, but I could not find an exact match. If there is another thread addressing what I am trying to do, please let me know.

I an trying to replace an old url with a new url (ex: www.site1.com with www.site2.com) while not losing any of my search engine rankings. To do this, I'd like to point the new url "site2" to the same files as "site1" and then use this redirect:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^site1\.com [NC]
RewriteRule ^(.*)$ http://www.site2.com/$1 [R=301,L]

However, I'm not exactly sure how to point the site2.com url to my current files. Should I be using the cPanel Addon Domains feature? If so, do I just point the new domain to the current home/public_html folder? And do I really need a new FTP login if I'm going to be working with the same files?

Thanks for the help!