How do I create an additional domain in cPanel?

Procédure

What is a companion domain name?

A companion domain name is an additional domain name that allows you to associate additional domains to your web hosting space. Thanks to this tool, you can assign a domain name to the directory of your choice on your hosting space.

This feature lets you configure new domain names, each with its own projects or site. A new folder is created on your web hosting and all you have to do is place the files for your new site in this directory. Each of your sites will be completely independent.

In this tutorial, we'll look at how to configure additional domain names on LWS web hosting. There are two steps involved:

The first step: add the domain as an additional domain in cPanel

The second step: change the DNS servers of our domain to those of the cPanel server.

How do I create a companion domain in cPanel?

Before starting to create your additional domain(s), we advise you to check these two prerequisites:

Requirement 1: The additional domain name you are going to create must exist (you must have purchased it from a registrar beforehand). If this is not the case, click here to register a domain name.

Prerequisite 2: The additional domain name you want to create must be associated with the IP address of your cPanel account (by using the DNS servers of your cPanel package or by editing the existing DNS zone of your additional domain): you must therefore first of all change the DNS servers of the domain name you want to add as an additional domain, in order to indicate the DNS servers of your cPanel web hosting (indicated in your delivery email and in your customer area) we will see this manipulation in the second step of this tutorial.

First step: adding the additional domain to cPanel

1. To begin, go to your customer area and log in to your cPanel account.

Scroll down the page and click on the "Additional domains" icon as shown below.

How do I create an additional domain in cPanel?

2. To add a new domain name, complete the add form:

  • Enter the domain name you wish to associate with your cPanel account (1)
  • Enter the root path associated with your additional domain name (2)
  • Click on the "Add a domain name" button (3) to confirm the addition.

How do I create an additional domain in cPanel?

Possible errors

  • The domain "example.com" already exists in the user data: this means that the additional domain you want to add is already associated with another cPanel account on the same server. You will therefore need to delete the additional domain on the cPanel account with which it is already associated, before you can associate it with a new cPanel account.

Step 2: Change the DNS servers for our domain

Now we need to change the DNS servers (nameservers) for your domain name to those of the cPanel server so that the DNS records for your domain name can be managed from the cPanel server. To do this, you will need to retrieve the DNS servers for your cPanel package and indicate them as the DNS server for your additional domain in the DNS Server Management section of your LWS Panel.

If your additional domain name is registered with another registrar, you will need to make these changes with your registrar.

The DNS servers to be set up are displayed after your domain name has been added to the cPanel interface:

How do I create an additional domain in cPanel?

Go to the LWS customer area to manage your additional domain name. In the additional domain name management interface, click on DNS Servers.

How do I create an additional domain in cPanel?

Specify the DNS servers for your cPanel package after selecting "Other servers":

How do I create an additional domain in cPanel?

Once you have entered the DNS servers, click on the Validate button to confirm the change.

Note that any DNS change requires a DNS propagation delay that can take up to 24 hours, so you'll need to be patient after performing this operation for the changes to take effect.

cPanel video: How do I create a companion domain in cPanel?

Need help using cPanel?

See all our cPanel training videos

Deleting an existing additional domain name

If you want to delete an additional domain name that already exists, you can find the list of domains configured on your hosting space in the table available from the "Domains" icon in your customer area. You can then click on the "Delete " button associated with the domain name you wish to delete.

Conclusion

You now know how to create and modify additional domain names on your cPanel web hosting! Additional domain names are very useful for creating several different websites on the same web hosting. You'll be able to enjoy several websites on your cPanel hosting.

Don't hesitate to share your comments or questions!

Rate this article :

4/5 | 10 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

3mn reading

How to park a domain in cPanel (web redirection)

1mn reading

How do I create a sub-domain in cPanel?

4mn reading

How do I manipulate records in cPanel's DNS zone?

2mn reading

How do I reset the DNS zone for my domain name on cPanel?


Questions sur l'article
SONNA Il y a 775 days
Bonjour! Je n'arrive plus à accéder à l'interface wp-admin de mon domaine compagnon indépendant, via le lien reçu par email, ni par le wordpress manager. Comment faire s'il vous plait ?
See the
1 answers
fabrice-LWS - Il y a 773 days
Bonjour, dans la mesure où vous êtes sur cPanel, je vous invite à vous rendre sur votre interface cPanel, cliquez sur "Wordpress Manager by Softaculous" se trouvant dans la rubrique "Logiciel" puis sur "Connexion" derrière le nom de domaine concerné.Vous aurez la possibilité de modifier le mot de passe, une fois connecté à votre Tableau de bord Wordpress en vous rendant sur "Comptes/tous les comptes" et en cliquant sur "Modifier".
Utile ?
Doom29 Il y a 756 days
Je suis passé à la formule LWS starter pour pouvoir créer plusieurs sites plus facilement et c'est encore plus compliqué puisque je n'ai pas accès à Cpanel . Comment procéder ?
See the
1 answers
fabrice-LWS - Il y a 755 days
Bonjour, vous disposez d'une formule LWS Starter avec l'interface LWS panel et non une interface cPanel. Si vous désirez disposer de l'interface cPanel, il vous faudra changer de formule pour l'une des formules se trouvant sur la page suivante : https://www.lws.fr/hebergement-cpanel.php Toutefois, vous pouvez lier un second domaine à votre formule actuelle en suivant la procédure suivante: https://aide.lws.fr/a/334
Utile ?
T08 Il y a 415 days
How can I host my Django app on a subdomain in cpanel
See the
1 answers
Benjamin-LWS - Il y a 413 days

Bonjour,

Vous pouvez installer des applications python sur votre cPanel, alors Django fonctionnera correctement.

Voici une documentation qui pourra vous aider à créer votre application Python sur cPanel : Comment utiliser une application Python sur un hébergement cPanel

Je vous remercie de votre attention et reste à votre disposition pour toute autre question ou complément d'information.

Nous vous invitons à contacter notre service support à travers votre espace client, afin de vous apporter une aide si vous rencontrez des difficultés quelconque. (Contacter le support LWS)

Cordialement, L'équipe LWS 

Utile ?

Ask the LWS team and its community a question