Last updated 5th May 2020
There are many different types of website you can put online. Whether you are creating a blog or an online store, sharing your hobby or promoting your work, your OVHcloud web hosting space lets you host the site you want, provided that it is compatible with the configuration of our infrastructures.
Find out how to publish a website on your OVHcloud web hosting plan.
- an OVHcloud Web Hosting plan
- an email confirming that your web hosting plan has been set up
- a domain name which can be used to access your website
- access to the OVHcloud Control Panel
Step 1: Define your project.
It is important to have a clear idea of your objective, for your project to succeed. What do you want to do with your website? How will you publish it? There are several ways to get your project off the ground with an OVHcloud web hosting plan.
Using a turn-key website, with OVHcloud’s one-click modules: this solution offers the benefits of a ready-made structure for your website that you can then customise (themes, text, etc.). We offer four different 1-click modules compatible with our infrastructures, and they are detailed on the Setting up your website with 1-click modules page.
Using a turn-key website that you install manually: this solution gives you the benefit of a ready-made website structure that you can customise (themes, text, etc.), and you set it up yourself on your OVHcloud web hosting plan.
Creating your website yourself: this is a more technical solution that requires programming skills, but does give you the option of creating a tailor-made project.
Migrating an existing website to OVHcloud: this solution may prove complicated if an interruption in service for the website concerned is not an option. To guide you through this process, you can also refer to the following documentation: Migrating your website and emails to OVHcloud
Once you have considered the possibilities above, you can choose one of two options.
If you want to use our 1-click modules, refer to the instructions set out in our guide on Setting up your website with 1-click modules.
If you do not want to use our 1-click modules, you can set up your website manually on your hosting plan. You may find the information in our guide helpful, but it is not a substitute for the support of a webmaster.
OVHcloud provides services which you are responsible for with regard to their configuration and management. You are responsible for ensuring that they work properly.
This guide is designed to assist you in common tasks as much as possible. Nevertheless, we recommend contacting a specialist provider and/or the service’s software publisher if you encounter any difficulties. We will not be able to assist you ourselves. You can find more information in the “Go further” section of this guide.
Step 2: Put your website files online in your storage space.
There are several steps involved in publishing a website on a hosting space manually. Some of these steps will be optional, depending on which site you install, and there may be multiple ways of carrying them out. For most existing projects, however, there are two major steps involved in publishing a website; the former of these steps is uploading the website’s files to the relevant storage space.
Publication takes place in several sub-steps.
1. Gather the files for the website.
Make sure you have all the files for the website that you are looking to publish. If you are migrating an existing website, you can obtain these files from your former hosting provider.
2. Log in to your storage space.
To log in to your storage space, you will need the following:
- an active FTP or SSH user account
- FTP or SSH user account password
- the server address
- the server connection port
These elements were sent to you in the email informing you that your web hosting plan has been set up. If you don’t have this information, log in to the OVHcloud Control Panel, go to the
Web Cloud section, then click on
Hosting in the services bar on the left-hand side. Select the name of the web hosting plan, and click on the
FTP - SSH tab.
The information associated with your storage space will now appear, and you should be able to find the information you need to log in to it. If you need help with this, please refer to our guide on on Logging in to your Web Hosting plan’s storage space. If you no longer have the password, refer to the instructions set out in our documentation on Modifying a FTP user password.
Once you have everything you need, there are three different ways of connecting to your storage space:
Using OVHcloud’s FTP Explorer. Gives you access to your storage space via your browser. To use it, stay in the
FTP - SSHtab, and click
Using FTP- or SFTP-compatible software. You will need to install a compatible program on your computer (e.g. FileZilla). Since OVHcloud did not create the software package you have installed, please contact the software’s publisher if you are encountering difficulties in using it.
Using SSH access. You will need to use commands from a terminal to interact with your storage space. More advanced knowledge and a specific OVHcloud hosting plan are required to use this type of access.
3. Upload the files to the storage space.
Once you have logged in to your storage space, all you need to do is put your website files online. Please take special care when you select the folder you upload the files to. For standard websites, the files should be uploaded to the “www” folder. However, if you host several websites on your hosting space, you have almost certainly registered several Multi-sites.
To identify the folder that the website should be published from, go to the
Multi-site tab in the OVHcloud Control Panel. In the table shown, check the
Root folder listed for the domain in question. This is the folder in which you should publish the files for your website.
You may find a file called “index.html” in your storage space. This file may have been created by OVHcloud while your hosting plan was set up, in order to show a default page for your website. If this is the case, remember to delete this file when you are putting your files online.
Step 3: Connect your website to a database.
This part is optional if your website does not need to be linked to a database.
Today, virtually all content management systems (CMSs), such as WordPress or Joomla!, use a database for storing dynamic elements, such as comments or articles. As a result, it is essential for your website files and the database to be connected for the website to function correctly. To establish this connection, a configuration file that contains the database’s information is used.
Depending on the website used, this connection may need to be established manually, or via an interface generated by the site itself. You can do this via several sub-steps, some of which may be optional.
1. Recover the existing database (optional).
If you are migrating an existing website, you can recover your existing database from your former hosting provider. If it is a new website, you can move on to the next step.
2. Create the database at OVHcloud (optional).
If you already have a database and wish to use it (from an OVHcloud web hosting plan or a Private SQL or Cloud DB solution), you will need your username and password, the name of the database and the address of the server. You can now go on to the next step.
If you want to create a new database with OVHcloud, log in to the OVHcloud Control Panel, then click on
Hosting in the services bar on the left. Select the name of the hosting plan concerned, and click on the
Now click the
Create a database button, or if this button is not visible, click on
Actions and then
Create a database. Now follow the information shown.
3. Import the existing database (optional).
If you are migrating an existing website, you can import your existing database into the newly created one. If it is a new website, you can move on to the next step.
There are several methods for importing a database. OVHcloud offers one such method in the OVHcloud Control Panel. Once you are on the list of databases created for your service in the OVHcloud Control Panel, click on the three dots to the right of the newly-created database, then on
Import a file. Now follow the instructions shown.
4. Connect your website to the database.
Once your database is available and you have uploaded your files to your storage space, all you need to do is connect them. To do this, you need to have the information for connecting to the database: a username, the associated password, the name of the database and the address of the server.
How this connection is established will depend on the type of website you are publishing. This process is dictated by how your website is configured, rather than OVHcloud. As a result, we recommend getting in touch with your website’s publisher or another specialist (such as a service provider) if you need assistance with this procedure.
Step 4: Access your website.
Once you have uploaded your files to your storage space and connected your database to it (if your website uses one), you can now access your website. Your website should display properly in your web browser.
If you observe that it does not display properly, we recommend:
Checking the configuration of the domain name. Your domain name’s DNS configuration may be preventing the website you have just uploaded to your OVHcloud hosting plan from displaying correctly. Make sure that the A record currently configured in the DNS zone for your domain corresponds to the IP address of your OVHcloud web hosting plan.
Making sure that no files are missing. When uploading your files to the OVHcloud web hosting plan, you may have forgotten to transfer some files, or an error may have occurred. Be careful with this process, however, to avoid breaking any links between the website’s files and the database (if the website uses one).
Checking that there are no errors in the website code. This is definitely the most technical check to carry out, but the files you have uploaded may contain errors, and those errors may prevent the server from displaying your website correctly, or at all.
As a reminder, if you encounter any difficulties publishing your website, we recommend contacting a specialised provider and/or the publisher of the service (the CMS you have set up, for example).
Join our community of users on https://community.ovh.com/en/.