📙 Resources
A Adeala Ademola Jun 13, 2023

To install Waterhole on a shared hosting environment

To install Waterhole on a shared hosting environment, follow these steps:

  1. Complete the Waterhole Installation on Localhost:

    • Set up and configure Waterhole on your local host according to the installation instructions provided. Ensure that the installation is working correctly.
  2. Zip the Waterhole Files:

    • Once the installation on your local host is successful, create a zip file containing all the Waterhole files. This can typically be done by right-clicking on the Waterhole folder and selecting the option to compress/zip it.
  3. Transfer the Zip File to the Shared Hosting Account:

    • Access your shared hosting account using an FTP client or the file manager provided by your hosting provider.
    • Upload the zip file to the public root folder of your shared hosting account. This folder is usually named "public_html" or "www" or similar.
  4. Unzip the Waterhole Files:

    • Unzip the uploaded zip file in the public root folder of your shared hosting account. This can usually be done through the file manager provided by your hosting provider. Extract all the files from the zip folder.
  5. Move Files Out of the Unzipped Folder:

    • After unzipping, you may find that the extracted files are inside a folder created during the unzipping process. Move all the files and folders directly into the public root folder, so they are not contained within an extra folder.
  6. Create a New .htaccess File:

    • In the public root folder of your shared hosting account, create a new file called ".htaccess" (without the quotes). This file will be used to configure your website's settings.
    • Open the .htaccess file in a text editor and add the following code:
           RewriteEngine on
           RewriteRule ^$ public/ [L]
           RewriteRule (.*) public/$1 [L]
  7. Update the .env File:

    • Locate the .env file within the Waterhole installation files. This file contains configuration settings for your website.
    • Open the .env file in a text editor and find the line that specifies the site URL.
    • Modify the site URL to match the URL of your shared hosting account. For example, if your website is "https://www.example.com", update the site URL to:
           APP_URL=https://www.example.com
    • Save the changes to the .env file.
  8. Verify the Installation:

    • Visit your website's URL in a web browser to check if the Waterhole installation on your shared hosting account is successful. If everything is configured correctly, you should see your Waterhole website.

That's it! You have now installed Waterhole on your shared hosting account. Make sure to follow any additional instructions or configuration steps provided by the Waterhole documentation or the hosting provider, if applicable.

👍️ 2 Like Loading...
2 ⁨2⁩ ⁨comments⁩

⁨2⁩ ⁨Comments⁩