How do I create a sub-domain on a dedicated VPS server?

Procédure

What is a sub-domain?

A sub-domain is always composed as follows:

Prefix + Domain name

example: boutique.lws.fr

Sub-domains are very useful for dividing a site into several distinct sections, each with a clearly defined address. They also avoid having to use folder names that are too long.

For example, http://forum.lws.fr is a sub-domain of http://lws.fr or http://boutique.lws.fr is also a sub-domain of http://lws.fr

How do I add a sub-domain to a dedicated VPS server using ISPConfig?

In this article, we will look at how to redirect a sub-domain to a directory on the main site. In our example, we are going to point the sub-domain boutique.monsite.com to the boutique directory of the site monsite.com.

Your panel will write the rewriting rules for the Web server (Apache). Once you're logged in, in the Sites tab, select the Sub-domain heading, then New sub-domain:

How do I create a sub-domain on a dedicated VPS server?

Fill in the form with the name of the directory you want to use (here boutique) and the main site (here monsite.com):

How do I create a sub-domain on a dedicated VPS server?

The types of redirections correspond to the operations that can be performed in an .htacess file.

You can also insert a sub-domain as a website.

Once you have done this, you must indicate that the subdomains point to your server.


How do you link your subdomains to your dedicated VPS server?

1. Go to your LWS panel customer area

2. Click on the "Manage" button to the right of your domain.

3. Click on DNS Zone

How do I create a sub-domain on a dedicated VPS server?

5. Fill in the information as follows and click on "Add":

  • Zone type : A
  • Name : this is the sub-domain (if the sub-domain is test.domaine.com, enter only"test")
  • Value: indicate the IP of your VPS

How do I create a sub-domain on a dedicated VPS server?

Procedure in video


Rate this article :

3.5/5 | 4 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

2mn reading

How do I add a website to an ISP Config VPS dedicated server?

1mn reading

ISPconfig - How do I link my domain name to my VPS server?

1mn reading

It's easy to configure my domains on my VPS

1mn reading

How to migrate a Wordpress site from an ISPCONFIG Apache VPS to Nginx


Questions sur l'article
Thuret Il y a 657 days
Comment j'accède aux fichiers de mon sous domaine crée Merci
See the
1 answers
fabrice-LWS - Il y a 649 days
Bonjour, vous avez la possibilité d'accéder aux fichiers rattachés à vos sous domaines en utilisant les informations de connexion FTP à votre formule. Le répertoire rattaché à votre sous-domaine doit porter le même nom que votre sous-domaine.
Utile ?
Florent Il y a 333 days
Comment j'accède aux fichiers de mon sous domaine.
See the
1 answers
Benjamin-LWS - Il y a 332 days

Bonjour,

Sur nos formules mutualisées LWS Panel et cPanel, les fichiers des sous-domaines sont généralement disposés à la racine de votre hébergement dans un dossier ayant le nom de votre sous-domaine.

htdocs>sous.domaine.fr>les-fichiers

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 ?
cheikhma Il y a 225 days
Comment j'accède aux fichiers de mon sous domaine créé et pointé à mon vps car je ne trouve pas le dossier du sous domaine créé
See the
1 answers
Jordan-LWS - Il y a 220 days

Bonjour,

Je vous remercie pour votre retour.

Comme il est indiqué dans la documentation, le répertoire de votre sous domaine est à renseigner au moment de l'installation de votre sous-domaine, effectivement, il s'agit du champ "chemin de redirection"

Si toutefois vous n'êtes pas en mesure de trouver ce que vous cherchez, je vous invite à contacter le service d'assistance technique par le biais de votre espace client.

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

Cordialement, L'équipe LWS.

Utile ?

Ask the LWS team and its community a question