cPanel® Blog

Pointing Two URLs to the Same Website

* This post was originally posted on February 6, 2012, and has been updated for accuracy. 

Pointing two URLs to the same website is a good way to direct traffic to your site from several different domain names. You can accomplish this in two ways: either redirect one of the URLs to your primary domain, or create an alias for one of the URLs. The alias would point that domain towards your primary domain.

What is a website redirect?

A redirect occurs when typing a web address in the address bar sends a visitor to another website (or URL) different from the one they typed in. For example, if you moved your website content to a new URL, you can direct your seasonal visitors (who may remember your old web address better than your new one) to your new location with a redirect.

How to create a redirect with the cPanel interface:

You can redirect a website from the Redirects interface in cPanel.

  1. Go to the Domains section and click Redirects on the cPanel home page, or type Redirects in the search bar.
  2. Follow the prompts to create the redirection. You’ll need the URL of the page you are redirecting to.
  3. If you need additional help, read our Redirects documentation.

Create an alias (aka parking a domain)

When the system creates an alias, it does the same thing as a redirect; except that the website name shown on the address bar does not change. Think of it as using two different picture frames for the same artwork. The website content is the same for both URLs (the artwork), but what changes is the URL shown in the address bar (the picture frame in the example). For example, example.org is an alias for example.com. Try it!

You can create an alias for several domains to show the same page. The domains have to be registered with a valid domain registrar before you can create the alias. Also, you’ll need to make sure the nameservers are the same as those for your primary domain (the domain that you are pointing towards).

Important: Make sure you know what type of hosting account or package your account has. If you have a reseller account, you will need to ask your provider if you have access or permission to create an alias.

  • If you do not have this permission, you may be able to redirect one of the URLs instead of creating the alias.
  • If you have permission, ask for the number of domains for which you are allowed to create an alias.

How to create an alias with the cPanel interface

To create an alias, go to the Domains section and click on Aliases in the cPanel home page, or type Aliases in the search bar. Type your domain name in the Domain text box and click Add Domain.

If there are no issues, you should see a message like the one below:

If there are issues (like your domain having the wrong nameservers), you will get an error message. Make sure you have solved the issues highlighted in the Important section above to minimize your chances for errors.

Rosie Arcelay

Rosie has been a technical writing cPanel Elf since 2010. She specializes in writing API docs for cPanel internal development and in user advocacy.

9 responses to “Pointing Two URLs to the Same Website”

  1. Chan Sensamnang says:

    Dear team,
    i want to redirect page as sample.
    Example: when i click on url link: http://www.google.com/image then it will to open http://www.google.com/image (and 5second) will redirect to website: http://www.yahoo.com
    Thank for command

  2. Jefrey says:

    im having 7 different website, and i’d like it to point it into one new website, is it possible? how? thanks for the help 🙂

  3. Sid Jake says:

    Can I point two different domains like http://www.xyz.com and http://www.abc.com to http://bushireinlondon.co.uk/ . Please let me know, I’m confused.

  4. samuel says:

    i dont think adding sub-domain with root domain is consider spamming as long you are creating unique content on sub-domain. http://www.certleaks.com/

  5. Bill says:

    Too much adding sub-domain with root domain could create spaming, so make sure do not add more than 2 ad-on with root domain like http://www.trainingable.com/

  6. cpnathanli says:

    If your website has content focused on the Seattle area then you may want to make adjustments to it so that it is suited for your new location. This blog post demonstrates how to point two URLs to a single, existing website.

  7. Cassy says:

    Umair i think you are confused with root and sub domain, root domain act as a primary domain like http://www.assignmentvalley.com/, although sub-domain look like uk.assignmentvalley.com

  8. mellohmel says:

    Can I use the same Seattle based website that I currently have in a different state like Beverly Hills, CA where I moved and currently live or do I need to have a new website for Beverly Hills, CA?

  9. Umair Aziz says:

    Hi Rosie I have a question for you regarding Root Domain, Which one is a good practice do you thing?

    This is my sub domain http://www.projectmanagementwatch.co.uk/

    This is my Root domain in same hosting account http://www.techblis.com/

    Without redirect it show techblis.projectmanagement.co.uk , and with redirect i will show URl mentioned above.

    I don’t know which one is the good practice regarding SEO point of view and Google perspective.

Leave a Reply