How to Create an Add-on Domain in cPanel

What is Addon domain.

The Addon domains allow you to control multiple domains from your single account. An addon domain links as a new domain name to a sub directory of your account’s public_html (document root) directory, and then stores its files in that sub directory. This means that you can host additional domains in your account.

You can give an addon domain email addresses, forwarders, and more the same way as a primary (main) domain on the account.

Create an addon domain.

To create an addon domain, perform the following steps:

Login to cPanel, under DOMAINS section, click on Addon Domains

Enter the new addon domain’s name in the New Domain Name text box.

Create Addon Domain

Enter the directory that you wish to contain the addon domain’s files in the document root text box.

Note:- When you enter the domain name, cPanel automatically populates the Subdomain or FTP Username text box. To create multiple addon domains with the same username and different extensions (such as addon.com and addon.net), manually enter a unique username in the Subdomain or FTP Username text box.

Create Addon Domain

Click on Password Generator, select I have copied this password in a safe place, Click on Use Password. 

And Click on Add Domain.

Now that your addon domain name has been added to your cPanel you can go to that folder and upload your web site files. Once the propagation takes place your web site files and emails for your addon domain name will be live on the internet.

How to Change Hostname For cPanel & WHM version 56

In computer networking, your hostname is used as a label by which to identify your physical server.

To change the server’s hostname, you should  use one of the following methods:

Enter your hostname in the Setup Networking section of WHM’s Initial Setup Wizard interface.

Login to WHM Change Host name interface

(Home >> Networking Setup >> Change Hostname).

Call WHM API 1’s sethostname function.

Run the /usr/local/cpanel/bin/set_hostname utility as the root user.

Hostname Should meet the below requirements:

A fully qualified domain name

Registered with a registrar.

 Follows the instructions in the Instructions section.

Perform the below details to change your Host name

  1. Enter your hostname into the New Hostname text box.
  2. Click Change. A popup window will appear that prompts you to add an A entry.
  3. Click Add An A Entry for your hostname.
  4. Review the information about your server and, if it is correct, click Add Entry.

System will automatically configure the hostname and Also add the correct A entry for hostname.

Note:-

  • Don’t use socially-unacceptable hostname, as hostname will appear in mail headers.
  • Only use lowercase, Latin-script letters in hostnames.