NavigationContentFooter
Jump toSuggest an edit

How to create subdomains

Reviewed on 12 February 2024Published on 05 August 2021
Important

This documentation describes the usage of a previous web hosting offer proposed by Online.net.
Refer to the Scaleway Web Hosting documentation for information about the current web hosting product.

Subdomains are an additional part to extend your main domain name. Mostly, they are created to organize and navigate to different sections of your website. For example, you can host your main website at www.example.com and your blog at blog.example.com.

Before you start

To complete the actions presented below, you must have:

  • A Dedibox account logged into the console
  • Created a Webhosting Classic

How to create a subdomain from the Dedibox console

  1. From your Dedibox console, click Hosting. A list of your webhosting accounts displays.
  2. Click Manage next to the hosting you want to configure. The webhosting overview page displays.
  3. Click Subdomains in the side menu. The list of your subdomains displays.
  4. Click Add subdomain. A pop-up displays.
  5. Enter the name of your subdomain and click Add subdomain. The new subdomain will appear in the list of your subdomains.

How to upload content to your subdomain

  1. Connect to your webhosting using your FTP account. A listing of your remote files and folders displays in the right part of the FTP client:
  2. Double-click on the folder named like your subdomain to enter it. Then upload your files into this directory.
    Tip

    The directory where you usually upload your files on the server is www. To upload your files into the folder for your subdomain, you have to choose the one named after it.

How to create subdomains using the FTP client (advanced mode)

It is also possible to create subdomains directly using your FTP client, without needing to create them via the Dedibox console.

  1. Log into your webhosting using an FTP client. Your remote files are listed in the right part of the FTP client.
  2. Create a new folder in the document root of your hosting, named after your subdomain:
  3. Enter the newly created directory and upload your files into it:

You now can access the files located in this directory as a subdomain of your webhosting.

See also
How to enable HTTPSHow to delete a subdomain
Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway