Install On cPanel Shared Hosting

To install on cPanel shared hosting, access cPanel, and follow the installation prompts for seamless setup.

Info
Admin Panel

Email : admin@example.com

Password : secret


Follow This Instructions

  1. Zip your project file.
  2. Login to cPanel and navigate to File Manager.
  3. Ensure you're in the root folder, then click "Upload".
  4. Select your zip file and wait for the upload to complete.
  5. Unzip the uploaded file.
  6. All files and directory move to the root folder.
  7. Go back to Cpanel and navigate to Database.
  8. Created a database and add (create if non exist) a DB user.
  9. Example

    Example-01 Example-02 Example-03 Example-04
  10. Click on your fresh DB, and click "Import"
  11. Select Our rentdo.sql file
  12. Make hidden files visible in your cpanel then finally edit the .env file and edit DB Name, DB Username, Password, etc.
  13. You don't need to make changes to the structure of Laravel. Just copy below htaccess code and paste it into the .htaccess file at the root of your project. (Already provide this file if this file does not exist please continue this step).
  14. <IfModule mod_rewrite.c>
          RewriteEngine On
          RewriteBase /
          RewriteRule ^$ public/index.php [L]
          RewriteRule ^((?!public/).*)$ public/$1 [L,NC]
      </IfModule>
      
WARNING

You should configure your web server's document / web root to be the public directory.


Configuration

Please copy the .env.example and rename it to .env and fill up the .env

  • APP_NAME = (Youe App Name)
  • APP_ENV = (Local Production)
  • APP_URL = (https:// Your Domain Link..)
  • DB_DATABASE = (Your Database Name)
  • DB_USERNAME = (Your Database Username)
  • DB_PASSWORD = (Your Database Password)
  • MAIL_MAILER = (SMTP Email Relay Services)
  • MAIL_HOST = Your Mail Host(For Example: smtp.gmail.com)
  • MAIL_PORT = Your Mail Port(For Example: 587)
  • MAIL_USERNAME = (Your Mail Username)
  • MAIL_PASSWORD = (Your Mail Password)
  • MAIL_ENCRYPTION = (SSL, TLS)
  • MAIL_FROM_ADDRESS = (For Example: no-reply@gmail.com)

You need to fill the database connection details, administration details, and store details to .env example file.


UNNECESSARY ERROR
If no uploaded image is visible.
Razinweb-Error
  • At first go to public directory laundry / public if exit is storage folder delete this.
  • Then go to route/web.php paste this code.
  • 
    Route::get('/storagelink', function () { Artisan::call('storage:link'); });
                    
  • Go to your URL For Example: http://razinsoft.com/storagelink