Managing Domain Names

 Managing Domain Names

The “DOMAINS” section of cPanel is your go-to place when you want to add a new domain name (the one you’ve just purchased) to your hosting account, manage your existing domains, as well as set up subdomains.

domains

1. Adding a New Domain Name

To add a domain name to your cPanel (and thus, your hosting package), you’ll need to click on “Addon Domains” in the “DOMAINS” section shown above.

An addon domain is a fancy name for a standard domain name that you can use to create a fully-functional website – meaning you can host multiple domain names from the same control panel.

On the “Addon Domains” screen, you’ll be asked to enter your new domain name plus a couple of other parameters:

add domain
  • New Domain Name – The exact domain name that you’ve registered – minus the www. part.
  • Subdomain – This will be filled out automatically as soon as you enter your new domain name into the field above. It’s best to leave that intact. cPanel uses this for some internal routing that doesn’t have much relevance from a user point of view.
  • Document Root – The location on the server where your new domain’s files will be. This is also filled out automatically. It’s best to stick with these recommended settings.

Click on “Add Domain” to finish up.

2. Editing/Removing a Domain Name

On that same “Addon Domains” screen, there’s a section called “Modify Addon Domain” where you can take care of any domains currently assigned to your account – this includes managing them, setting redirections, or removing domains completely.

addon domains

The usage here is straightforward. There are links for removing and managing the redirections on the right. Clicking on any of them will show you another settings panel where you can confirm the deletion or enter the destination that you want to redirect the domain to.

3. Managing Subdomains

Every time you add a new domain to your account (covered above), cPanel will also create a corresponding subdomain to go alongside. Here’s how that usually works, based on an example:

Let’s say your cPanel account name is john and the host is called greathost.com. In that case, your primary server domain is going to be john.greathost.com. Once you add a new addon domain, say, johnsworld.com, cPanel will also create a subdomain called johnsworld.john.greathost.com.

Now, what’s unfortunate about such a setup is that this new subdomain often holds a carbon copy of your normal website that’s available under johnsworld.com. In other words, you get the same website available twice, under two addresses: johnsworld.com and johnsworld.john.greathost.com.

This is not ideal from an SEO point of view. To fix that, what you should do is redirect that new subdomain to your standard domain. To say it another way, after doing that, whoever tries to go to johnsworld.john.greathost.com will be automatically redirected to johnsworld.com.

Here’s how to do that:

First, click on “Subdomains” from the “DOMAINS” section:

subdomains

You’ll be taken to a panel where you can see all of your current subdomains that have been set up.

At this stage, the “Redirection” column is likely blank.

subdomains blank redirect

To edit that, click on the “Manage Redirection” link next to the subdomain you want to edit. On the next screen, set up the redirection by entering the full domain name that you want to redirect to. In our example, that’s johnsworld.com. Click on “Save” when done.

subdomain set redirection
CREATING CUSTOM SUBDOMAINS

Subdomains are not only about causing minor inconveniences but also about letting you expand certain areas of your site in a creative way.

For example, if you want to launch a new blog as part of your website, a good approach is to do that under a subdomain. For instance, if your main website is, again, at johnsworld.com, then you could consider launching a blog under blog.johnsworld.com.

In this case, blog is just an example. You have full freedom to choose whatever subdomain you want.

You can create a custom subdomain on the same screen where you took care of managing the existing ones. Just fill out the form that’s at the top.

subdomain form
  • Subdomain – The name of the subdomain you want to set. Keep it short, and use only letters, dashes, and numbers.
  • Domain – The parent domain for the new subdomain.
  • Document Root – The directory/folder on the server where the new subdomain’s files will be kept. It’s a good practice to input your full subdomain there. Example: blog.johnsworld.com.

Click on “Create” to finalize the subdomain setup.

Was this answer helpful?

Related Articles

user Detail Changes In CPanel

Updating Your Preferences When you first log in to cPanel, make sure you visit the “PREFERENCES”...

Setting Up and manage Email Account

1. Setting Up an Email Account Naturally, this is the first thing you will want to do. To add a...

A Beginner’s Guide to cPanel / How to Login to Cpanel

1. cPanel Tutorial – The Basics (Guide to cPanel) 1.1. What is cPanel? In simple terms, it’s a...

A Quick Intro to the cPanel Interface

Once you’ve logged in, you should see a screen similar to this: This is the version of...

 Managing Your Files in Cpanel

 Managing Your Files The “FILES” section of cPanel is your go-to spot for uploading files,...