Changing the product base URL in GFI HelpDesk
As a GFI HelpDesk customer, you have the option to change your GFI HelpDesk base URLUniform Resource Locator is the address of a web page on the world wide web..
For example - you can change from
This topic provides instructions on how to change the GFI HelpDesk base URL.
Keep in mind that your GFI HelpDesk OnDemand instance is protected by a “wildcard” SSL certificateSSL certificates are used to authenticate an identity on a server.. This certificate covers our domain (www.gfi.com) and any sub-domains we have (www.[yourdomain].gfi.com).
However, you need to purchase an SSLSecure Sockets Layer - A protocol that ensures integral and secure communication between networks. certificate for your GFI HelpDesk Download domain and any custom domains including OnDemand custom domain or URL.
To learn more, read Adding or Updating SSL Certificates For Your Domain.
If you need to update the product URL of your GFI HelpDesk (on-premise installation), there are two ways to do it.
The code assumes GFI HelpDesk is installed at a location
/var/www/swift and MY-NEW-DOMAIN is the new URL.
A. Using an SQL query
- Get database details from config.php.
head -n50 /var/www/swift/__swift/config/config.php
- Check the product URL in database.
select data from swsettings where vkey='general_producturl';
- Update product URL in database.
update swsettings set data = 'https://MY-NEW-DOMAIN/' where vkey = 'general_producturl';
- Rebuild Cache of Help desk by following the instructions here, Rebuilding Helpdesk Cache Manually. Note:
Cache files are written every time someone access a GFI HelpDeskinstallation.
When you delete the cache through the steps above, some files may be left behind, which may cause issues in the UI.
If you start to experience issues after performing this procedure, it may be helpful to go directly to the
__swift/cachedirectory and delete everything there.
B. From the Console
Execute the following commands from the command line (be careful with the
%2F strings surrounding
php console/index.php /Base/LegacyInstance/ChangeProductURL "http%3A%2F%2FMY-NEW-DOMAIN%2F"