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.

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

Discussion in 'General Discussion' started by wileyl, Jan 4, 2013.

  1. wileyl

    wileyl Registered

    Jan 4, 2013
    Likes Received:
    Trophy Points:
    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: with 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 ^(.*)$$1 [R=301,L]

    However, I'm not exactly sure how to point the 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!
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Feb 25, 2010
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you want to use the same content for both domains, a parked domain will do what you want.

    Parked Domains

Share This Page