{"id":310,"date":"2018-06-14T13:22:00","date_gmt":"2018-06-14T18:22:00","guid":{"rendered":"http:\/\/blogs.wp.stage.cpanel.net\/?p=310"},"modified":"2018-06-14T13:22:00","modified_gmt":"2018-06-14T18:22:00","slug":"managing-multiple-domains-from-a-single-cpanel-account","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/managing-multiple-domains-from-a-single-cpanel-account\/","title":{"rendered":"Managing Multiple Domains from a Single Hosting Account"},"content":{"rendered":"
cPanel has made it easier to manage your domains in a single place. In this\u00a0post<\/span>, we will go over how to add another domain to your existing cPanel account. This tutorial\u00a0will\u00a0require<\/span>\u00a0that you have a hosting account and have access to cPanel\u00a0to<\/span>\u00a0add the domain.<\/p>\n Are you unfamiliar with what DNS is or what the different DNS records mean? Please review\u00a0cPanel’s DNS FAQ article\u00a0<\/a>for more information!<\/em><\/p>\n In this walkthrough, cpanel.rocks is our primary domain, and\u00a0cpdocs.com<\/a>\u00a0is our addon domain. We will also need the\u00a0nameservers from the web host,<\/a>\u00a0and the IP address that the addon domain will point to.\u00a0The IP address is\u00a0found in cPanel by clicking the\u00a0Server Information<\/a>\u00a0tool under General Information and then viewing the Shared IP address value.<\/em><\/p>\n Let’s recap<\/span>\u00a0with some example information for the necessary DNS information:<\/p>\n The cPanel “Addon Domains” feature allows you to manage multiple domains from a single hosting account. Unlike with Parked domains, Addon domains are expected to be completely different websites all hosted inside the same cPanel account. You can also create additional sub-accounts (for example, email addresses) for your addon domains.<\/p>\n You can use them to save money. With addon domains, you don\u2019t have to purchase an additional hosting account for each domain you operate. You can simply create addon domains and split your existing account’s resources.<\/p>\n Like subdomains, addon domains are\u00a0stored in a subdirectory in your home directory. Essentially, online\u00a0visitors to your addon domain are\u00a0routed to this directory. As shown below, you may specify the name and precise location of this directory\u00a0when creating the addon domain. Most commonly, the document root for any addon domain will be in\u00a0\/home\/$user\/$addon-domain\/<\/em>.<\/span>\u00a0In our example, the addon domain\u2019s\u00a0public_html<\/em>\u00a0subdirectory will be\u00a0\/home\/$user\/cpdocs.com\/<\/em>.<\/p>\n While not required, it’s a good idea to update the DNS of your domain to resolve to the server where it\u00a0is hosted<\/span>.\u00a0We recommend contacting your web host for the proper nameservers and IP address for your server<\/span>.\u00a0Then, take this information to your domain’s registrar (or your hosting provider if they are the domain registrar) and update the domain’s DNS settings<\/span>. If you’re not sure who your domain’s registrar is, you can always search for your domain on\u00a0WHO.is<\/a>.\u00a0This action will perform a lookup and display which company was responsible for registering your domain<\/span>.\u00a0If your domain is not registered, this would be the perfect opportunity to\u00a0<\/span>purchase<\/span>\u00a0the domain from your preferred registrar<\/span>.<\/p>\n To add an addon domain, we can use cPanel\u2019s\u00a0Addon Domains<\/em>\u00a0feature, in the\u00a0Domains<\/em>\u00a0section of the cPanel interface.<\/p>\n If you see an error in this interface, that means that your hosting provider has not enabled this feature for your account, or there may be another problem. Please contact your hosting provider to fix the error before continuing.<\/p>\n When adding an addon domain, cPanel will automatically create a DNS zone file for the domain. <\/span>From the Zone Editor<\/em> interface, we can see that the A record for ‘cpdocs.com’ is set to\u00a0209.59.172.159, the cPanel account IP address. If you do not see those options,\u00a0your account may not have the correct feature permissions. The next step is to talk to your hosting provider to have the Advanced DNS Editor feature added. Once these are enabled, you will be able to see all of the DNS records assigned to your domain.<\/p>\n If you need to assign a different A record to your domain, you may use the “Edit an A record” function in cPanel’s\u00a0Zone Editor<\/a>.<\/p>\n Please make sure when editing the A record for your addon domain, there is a period at the end of the domain name.\u00a0If this period is missing, the DNS record will be incorrect, as it will not be considered a Fully Qualified Domain Name (FQDN).<\/span> Now that the DNS record has been added, the domain will begin a period of propagation. DNS records can sometimes take up 24 hours to fully propagate, so a bit of patience will be required.\u00a0 Once the propagation period has passed, your domain will be publicly accessible!<\/p>\n Now<\/span>\u00a0you can start building your website!\u00a0 Not sure where to get started? Why not give WordPress a try by using the\u00a0WordPress Manager<\/a>!\u00a0 You can also discuss all of these awesome features with us over our\u00a0Discord<\/a>\u00a0or\u00a0Slack<\/a>\u00a0channels, on the Official cPanel\u00a0subreddit<\/a>, or meet us in person at the 2018\u00a0cPanel Conference<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":" This post was originally added to our blog on January 31st, 2012. It has been updated for accuracy, and\u00a0readability. cPanel has made it easier to manage your domains in a single place. In this\u00a0post, we will go over how to add another domain to your existing cPanel account. This tutorial\u00a0will\u00a0require\u00a0that you have a hosting account […]<\/p>\n","protected":false},"author":77,"featured_media":64965,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[61],"tags":[2061,2065],"class_list":["post-310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","tag-addon-domains","tag-multiple-cpanel-domains"],"acf":[],"yoast_head":"\n\n
What is an addon domain?<\/h2>\n
Why addon domains?<\/h2>\n
Addon domains. How do they work?<\/h2>\n
What do I need to do before creating the addon domain?<\/span><\/h2>\n
How do I add the\u00a0addon\u00a0domain to cPanel?<\/h2>\n
<\/a>
\n
<\/a>
Verifying our DNS settings<\/span><\/h2>\n
<\/a>
I\u2019ve set up my addon domain! Now what?<\/h2>\n