#3 Adding a reverse proxy

#3 Adding a reverse proxy
Photo by Mohammad Rahmani / Unsplash

Adding a reverse proxy in CloudPanel allows you to redirect traffic from one URL to another, which is useful for hosting multiple applications on one server. Here are the step-by-step instructions on how to do it:

Step 1: Log in to CloudPanel

Log in to the CloudPanel dashboard using your credentials.

Step 2: Go to the "Add site" Tab

After logging in, navigate to the "Add site" tab in the navigation panel.

Step 3: Add a New Reverse Proxy

Click on the "Add Reverse Proxy" button to begin adding a new reverse proxy.

Step 4: Enter Reverse Proxy Information

Fill out the reverse proxy addition form, providing the following information:

  • Domain: Provide the domain for which the reverse proxy will operate, e.g., "example.com".
  • IP Address: Enter the IP address or server address to which traffic should be redirected.
  • Port: Specify the port on which the application you want to redirect is running.

Step 5: Save Settings

After entering all the information, click the "Save" button to save the reverse proxy settings.

Step 6: Verify Configuration

Ensure that the newly added reverse proxy is displayed in the reverse proxy list in the CloudPanel and verify that the configuration is correct.

Step 7: Test Functionality

Test the functionality of the reverse proxy by entering the URL associated with the reverse proxy into your browser, e.g., "http://example.com".

Step 8: Monitor and Manage

Monitor the operation of the reverse proxy in the CloudPanel dashboard to ensure everything is working correctly. You can also manage existing reverse proxies by editing their settings or deleting them if necessary.

That's it! You have now configured a reverse proxy in CloudPanel that redirects traffic from one URL to another.


If you need additional assistance or encounter any issues, you can always consult the CloudPanel documentation or reach out to technical support.


🚀 Author Support:
If you find the script useful and would like to support its development, you can buy the author a coffee! ☕

Buy Me a Coffee - Support the Author