Upload or host dynamic PHP MySQL website or project on cPanel domain or subdomain hosting server

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • *Upload / host dynamic PHP MySQL website or project on cPanel domain or subdomain hosting server*
    In this video, we will show you how to upload a dynamic PHP MySQL website or project on cPanel domain or subdomain hosting. We will cover the following topics:
    How to create a cPanel subdomain
    How to upload your website files to cPanel
    How to create a MySQL database
    How to connect your website to the MySQL database
    *Before you start, you will need to have:*
    A cPanel account
    A PHP MySQL website or project
    A MySQL database (optional)
    *Here are the steps on how to upload a PHP MySQL website or project on cPanel domain or subdomain hosting:*
    1. *Create a cPanel subdomain.*
    To create a cPanel subdomain, log in to your cPanel account and go to the "Subdomains" section. Click on the "Create Subdomain" button and enter the following information:
    Subdomain Name: Enter the name of your subdomain. For example, if you want to create a subdomain called "blog", you would enter "blog" in this field.
    Main Domain: Select the domain name that you want to create the subdomain for.
    Document Root: This is the directory on your server where your website files will be stored. By default, this will be the "public_html" directory.
    Subdomain Redirect: This is optional. If you want to redirect your subdomain to another URL, you can enter the URL here.
    2. *Upload your website files to cPanel.*
    To upload your website files to cPanel, you can use the File Manager tool. Log in to your cPanel account and go to the "Files" section. Click on the "File Manager" icon and select the directory that you created in the previous step. You can then upload your website files using the file manager.
    3. *Create a MySQL database (optional).*
    If your website uses a MySQL database, you will need to create a MySQL database and connect your website to the database. To create a MySQL database, log in to your cPanel account and go to the "Databases" section. Click on the "MySQL Databases" icon and create a new database.
    4. *Connect your website to the MySQL database.*
    To connect your website to the MySQL database, you will need to edit your website's configuration files. The specific steps will vary depending on your website's framework. However, you will typically need to enter the following information:
    Database Host: This is the hostname of your MySQL database server.
    Database Name: This is the name of your MySQL database.
    Database Username: This is the username for your MySQL database.
    Database Password: This is the password for your MySQL database.
    *Please note:* These are just general steps. The specific steps may vary depending on your cPanel version and website framework.
    *I hope this video helps you upload your PHP MySQL website or project on cPanel domain or subdomain hosting.*
    #cpanel
    #cpanel_hosting
    #domain_hosting
    #subdomain_hosting
    #dynamic_website
    #upload_website
    #upload_php_website
    #php_mysql
    #cpanel_database
    *Please like and subscribe to my channel for more tutorials.*
    / @techskill3612

Комментарии • 3

  • @blazesmt
    @blazesmt 2 года назад

    thanks bro

  • @LifLson
    @LifLson 2 месяца назад

    Bro you saved me today😂😂, a big thanks❤❤