How to upload my website to hosting (FTP)

How to upload my website to hosting (FTP)

FTP (File Transfer Protocol) is an essential tool for uploading your website files to the server. It is like a bridge that allows you to easily transfer files between your computer and your hosting space at cdmon.
 
If you have a website locally or with another hosting provider, you can transfer the files via FTP to the hosting so that the content is also on our server.
 
 
Prerequisites
Before you begin, make sure you have:
 
  • Your website files ready to upload (you do not need to upload server folders such as security certificates or error folders), only the web files and databases.
  • The FTP connection details, which you can find in the hosting management section in your cdmon control panel. 

Step 1: Prepare the files and database
  • Locate the files: In most providers, the folder containing the website files is called /public_html, although it can also be called /www or /public.
  • At cdmon: The name of the folder where the page files must be located is /web, located in the root of the hosting.
  • Database: If your website is made with a CMS (such as WordPress, Prestashop, etc.), you will need to export your database and import it into our hosting. To do this, you must create the database beforehand from our control panel.
 
Step 2: Connect to FTP
  • Online FTP client: we offer an FTP client that works directly from the control panel called net2ftp. You can see more information on how to access it at this link.
     
  • net2ftp limitations: It does not allow uploading files larger than 35 MB. If you try to upload larger files, you will receive an error. 
 

Step 3: Use a local FTP client
For files larger than 35 MB, we recommend using a local FTP client such as FileZilla.
  1. Download FileZilla:
    • Go to the FileZilla downloads page and download the appropriate version for your operating system.
    • Install the program by following the instructions.
  2. Configure FileZilla:
    • Open FileZilla and fill in the connection fields:
      • Host: Web IP (shown in the Hosting Information)
      • Username: your_FTP_username
      • Password: your_FTP_password

  1. Connect and Upload Files:
    • Click "Quickconnect".
    • Once connected, locate the /web folder in the right panel (server).
    • Drag and drop your website files from the left panel (your computer) to the right panel (server).
 
 
Step 4: Upload a database (for CMS such as WordPress)
If your website is a CMS, you also need to upload the database:
    1. Export the Database:
      • From your current provider, export the database to an .sql file.
    2. Upload the Database:
        • You must connect to the hosting via FTP and upload the .sql file. The folder where you must upload it is called /backup_db.
         
       
        • Then, import the content into the cdmon MySQL server. 
        • Once the .sql file has been uploaded, you can proceed to execute it. To do this, go to the hosting management and click the MySQL option in the "Databases" section.
        
    • Once inside, you will find the management menu called "SQL script execution", where you must fill in a series of details.


The details to be filled in refer to the following:
  • Database: select the destination database you previously created.
  • Encoding: we can select UTF8 or LATIN1, depending on the encoding of the server it comes from.
  • File: the name of the file you want to load into the database.
 
Step 5: Additional Configuration
Depending on the type of website, it may be necessary to modify certain configuration files:
  • WordPress: Edit the wp-config.php file and replace the old database details with the new database details in cdmon.
    define('DB_NAME', 'nombre_base_datos_panelcdmon');
    define('DB_USER', 'usuario_base_datos_panelcdmon');
    define('DB_PASSWORD', 'contraseña_base_datos_panelcdmon');
    define('DB_HOST', 'localhost');
  • Other CMS or Applications: Check the specific documentation for your CMS or application to find out which configuration files you need to modify.
 
With these steps, you should be able to upload your website to cdmon hosting correctly.
 
Related links
 
If you need more help, check our help page or you can contact our technical support available 24/7.
    • Related Articles

    • Common Errors: Website Issues

      It is possible that, while browsing or managing your website, you may have encountered issues related to its operation. In this guide, we present a compilation of the most common errors that may arise when interacting with your website hosted at ...
    • Compare shared hosting plans

      When you want to start developing your website, you often have doubts about which hosting plan to hire, as they all have a number of differential features between them and can be somewhat complex. Important: There are two types of hosts, shared hosts ...
    • How to register cdmon hosting

      In this guide, we will show the essential basics of what hosting is, how to purchase hosting from our commercial website, and why it is highly recommended that you consider registering one for your online presence. What is Web Hosting? Web hosting is ...
    • Instructions for setting up the secure site connection

      In this guide, we will show you how to ensure that your website is protected with a secure SSL connection. This not only guarantees the security of the information exchanged between the server and your visitors, but also improves the trust and ...
    • How to know what the ideal hosting plan is

      One of the most frequent questions from new cdmon users is deciding which hosting plan to choose from the wide variety we offer. When it comes to choosing a hosting plan for your website, it is essential to find the perfect balance between cost, ...