If following the recommendation to use one domain for the hosting account and another for actually hosting your site, an addon domain is required.
This procedure can be used to create an addon domain or a subdomain, with the only difference being in how the domain field is specified.
While a subdomain is accessed by prefixing the domain with the subdomain separated by a ., an addon domain is for a separate domain, and so is accessed using that domain only. It can also be accessed as a subdomain of the account domain, where cPanel derives the subdomain name from the addon domain name, usually by stripping off the top-level domain parts like .com or .com.au. In this case, Smallsite Design will redirect to use the addon domain name on its own, including the original path.
Adding an addon domain only sets up the necessary structures for the server to handle requests for the domain. The domain name registrar's server needs to point at the hosting supplier's DNS servers to make the server accessible from the internet. See Point to the hosting DNS servers.
If the domain or subdomains are internationalised (contain Unicode), for the Domain field the internationalised parts must be entered in what is called Punycode. Use a Punycode converter to get the correct form. For example, datubāze.點看.com becomes xn--datubze-w3a.xn--c1yn36f.com. Notice that each converted part is prefixed by xn--. Both the Unicode and Punycode text versions will work in browsers.
As with a subdomain, an addon domain needs a separate folder within the account's primary domain's public_html folder in the account home folder. Use the domain name for an addon, or the subdomain.domain form for a subdomain. While Punycode could be used for the folder name, perhaps use a more recogisable name using ASCII characters to replace each Punycode part.
Note that existing addon domains and subdomains can have subdomains of their own.
To create an addon domain (or subdomain):
2Open the Domains page
by clicking the Domains link in the Domains section.
3Initiate the creation
by clicking on the Create A New Domain button.
4Enable specifying a separate folder for the domain
by clicking on the Share document root checkbox.
5Specify required information
|a||Domain||Type the domain name or a subdomain as subdomain.domain, using the Punycode version by converting it||mydomain.com|
|b||Share document root||Uncheck to be able to specify the domain or subdomain root folder||unchecked|
|c||document root||Type the domain name or subdomain.domain, prefixed by public_html/. Use representative lowercase ASCII names in internationalised parts||public_html/mydomain.com|
6Create the account
by clicking the Submit button.
The Domains page is displayed again with the new domain or subdomain added to the list.