24 February, 2018

How to hosting with sub domain for CodeIgniter

1. Log to Cpanel
2. Create Sub domain
3. In document Root put /public_html/client-websites then click create
4. Create database name & user name to do this

You can go to MySQL(R) Database
     4.1. Create new database Name
     4.2. Add New user
           - username
          -  password Generator
            Then click create user
    4.3. Add user to database
          - Choose username that just created
          - Choose database Name that just created then click added
5. Upload database to do that
    5.1. Go to phpMyAdmin
    5.2. Go to database name that just created then import database source from local          machine
6. Upload project files to do that
    6.1. Go to File manager
    6.2. Go to public_html
    6.3. Go to Client-websites
    6.4. Find sub domain that just created and click on that sub domain name
    6.5. Click on button upload above (file upload must be as file zip)
    6.6. Extract Files
    6.7. Copy the files that just extracted into folder sub domain
7. Config database( Name, password, username) to do that
   7.1. Go to folder application
   7.2. config
   7.3 Edit database
***Not what to change are : username, password, and database name


                                                        *** The end ***



No comments:

Post a Comment