Beginner 15 min

Create a subdomain on web hosting

Configure blog.yourdomain.fr or shop.yourdomain.fr : panel, root folder, DNS and SSL certificate.

#Subdomain#DNS#Domain#Panel

Ready to start your service? Check offers and order online.

View offers and order

Create a subdomain on web hosting

One sub-domain (blog.votredomaine.fr, shop.votredomaine.fr) allows you to host a separate application on your web hosting Anthony IT Solutions without buying a new domain name.

This guide details the creation of the vhost, DNS recording and SSL certificate for a functional subdomain in minutes.

In summary Add a record A or CNAME DNS, create the subdomain in the panel, upload files and generate SSL.

What you need

  • Main active domain on web hosting
  • Access panel and DNS area
  • Content to host (site, app)
  • DNS controlled

Select subdomain name

  1. Convention

    Short prefix: blog, api, staging.

  2. Avoid

    No special characters; max 63 characters per DNS label.

  3. Wildcard

    *.domain.fr requires wildcard certificate, support contact.

  4. Multisite

    WordPress network, multisite.

Configure DNS

  1. Registration A

    Type A, host blog, value = IP hosting (same as the main domain).

  2. Alternative CNAME

    CNAME blog → votredomaine.fr if dynamic IP.

  3. Propagation

    15 minutes at 2 o'clock, test with dig blog.votredomaine.fr.

  4. TTL

    300 s during tests, 3600 in production.

Create subdomain in panel

  1. Panel

    My Services → Manage → Subdomains or Domains.

  2. Add

    Enter blog.votredomaine.fr, root folder created automatically.

  3. Root document

    Note the path (public_html/blog or dedicated).

  4. SFTP

    Same SFTP access, SFTP, drop files in the right folder.

Deploy Site

  1. Files

    Index to the root of the subdomain, not at the root of the main domain.

  2. WordPress

    Install in the subdomain folder or configure URL, WordPress.

  3. MySQL base

    Recommended dedicated base, MySQLbase.

  4. HTTP test

    Visit http://blog.votredomaine.fr before SSL.

Enable HTTPS

  • Respect supply quotas
  • One SSL per subdomain or SAN
  • E-mails: possible separate subdomain
  1. SSL

    SSL subdomain Let's Encrypt.

  2. Inclusion of certificate

    Check the subdomain when generating SSL.

  3. Redirection

    Forcing HTTPS.

  4. STS

    Advanced option after full validation.

Troubleshooting

  • Subdomain does not resolve, DNS not propagated or bad IP.
  • 404, Files in wrong root folder.
  • SSL fails, DNS must point before generation.
  • Main site fiche, uncreated Vhost or bad root document.

Frequently Asked Questions

How many subdomains?
According to web hosting formula, see panel Offer.

Subdomain and e-mail?
MX of the main domain; addresses @blog.domain possible.

staging.domain.fr ?
Ideal for pre-production testing.

Wildcard?
Not standard on mutualized; create each subdomain.

Related guides

See also our web hosting offer and all the procedures on wiki web hosting.