Just Host Web Hosting Help

How to Setup Multiple Domains Pointing to the Same Directory

Summary

It is possible to have multiple domains point to the same site or to a directory on your site. To do this simply assign both Addon Domains to the same directory (folder).

Primary, Addon and Parked Domains

The primary domain on your account will always be pointed directly to the public_html directory. As you assign additional domains to your account, you can assign them as either addon or parked domains.

An addon domain allows you to specify a directory inside of public_html which the domain will point to. A parked domain will point directly to public_html the same way your primary domain does. For a more detailed description of addon and parked domains, please see Parked Domains vs. Addon Domains

When assigning a domain as an addon domain, you are allowed to use the same directory as another addon domain. This will result in both addon domains pointing to the same folder and website content.

Assigning Two Domains To One Folder

  1. Login to your Just Host Control Panel
  2. Click the Domain Manager tab.
  3. Under Shortcuts click the link Assign a domain to your cPanel account
  4. Choose if you will assign a domain name already associated with your account, or assign a new domain name to your account.
  5. Verify ownership of the domain name, there are three ways this can be done:
    • Name Servers: Update your Name Servers to ns1.Justhost.com and ns2.Justhost.com
    • Create HTML Page: Create an HTML page on your existing host containing the text provided.
    • EPP Code: This will not transfer your domain name, but use the EPP code to verify ownership.
  6. Choose an Addon Directory
  7. Choose a Subdomain
    This subdomain is required for cPanel. You will still be able to access your domain name directly.
  8. Click the Add Domain button at the bottom of the page to assign the domain.
  9. Once complete you should see the domain is listed in the domain manager tab.




  10. Was this resource helpful?

    Did this resolve your issue?


    Please add any other comments or suggestions about this content:





    Recommended Help Content

    I do not want to see addon.maindomain.com. How do I do that?
    Knowledgebase Article 159,619 views tags: accessible addon directory domain folders hidden htaccess inaccessible primary secondary

    This article will explain how to un-assign a domain name from your account.
    Knowledgebase Article 178,205 views tags: delete domain domains park parked remove unassign unpark

    You need two things to have a successful website and professional email: a domain registration and a hosting account.
    Knowledgebase Article 29,803 views tags: dns domain domains nameservers servers

    Related Help Content

    How do I make a sub directory (or sub folder) act as the public_html for your main domain?
    Knowledgebase Article 773,911 views tags: Drupal domain htaccess joomla wordpress

    What are parked domains?
    Knowledgebase Article 198,666 views tags: domain parked

    I would like to view the statistics for my website.
    Knowledgebase Article 158,614 views tags: addon domain enable hits set setup statistics stats subdomain visitors web

    The WHOIS database shows my personal information for my .us domain names. How do I get privacy for the .us domain?
    Knowledgebase Article 120,593 views tags: change domain extension privacy private whois

    How to setup name servers for multiple cPanel accounts.
    Knowledgebase Article 103,914 views tags: accounts custom dedicated multi multiple nameservers server servers

    There are multiple reasons why a domain transfer may fail. This article explains several reasons why your transfer may be unsuccessful and what you can do to fix it.
    Knowledgebase Article 36,904 views tags: domain transfer

    How do I setup an addon domain or parked domain in my hosting account?
    Knowledgebase Article 526,119 views tags: addon domains parked

    Getting Started Wizard How to obtain a Transfer Authorization ( EPP ) Code If you want to transfer your .com, .net, .biz, .us, .org or .info domain, you will need to contact your current registrar an
    Getting Started Article 428,034 views tags: authorization code domain domains top