HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Run HelpSpot as subdomain not sub directory

#1

Greetings,

I want to install HelpSpot on Windows machine. But, I want it to be accessible directly from the domain name. For example the default installation would make URL http://ticket.example.com/helpspot. But, I want it http://ticket.example.com

Regards,

#2

Hi! Apologies for the delay in responding here - did you manage to figure this out? If not, try out the PDF instructions here on setting up HelpSpot without a subdirectory (the domain you use will not matter, as that’s configurable within IIS).

Note that you should also update HelpSpot’s config.php to remove the subdirectory from the cHOST variable.

Here’s a link to the PDF: https://www.dropbox.com/s/kw2r2ozgfdvlkcd/iis_windows_base_url.pdf?dl=0

#3

Thank you for your response, but I am not using IIS. I am using the default Apache which comes built in with the application installer.

#4

Gotcha, try this out instead!

Edit file C:\Program Files (x86)\helpspot\apache2\conf\httpd.conf

First Remove the line near the bottom:

Alias /helpspot "C:\Program Files (x86)\helpspot\helpspot"

Second Update the default DocumentRoot (near line 244) and any reference to the default document root:

From:

DocumentRoot "C:\Program Files (x86)\helpspot/apache2/htdocs"
<Directory "C:\Program Files (x86)\helpspot/apache2/htdocs">

To:

DocumentRoot "C:\Program Files (x86)\helpspot\helpspot"
<Directory "C:\Program Files (x86)\helpspot\helpspot">

Third: Update the config.php file cHOST variable

From:

define('cHOST','http://127.0.0.1:80/helpspot')

To:

define('cHOST','http://127.0.0.1:80')

We just removed the /helpspot portion. Your hostname will likely not be 127.0.0.1 like in this example.

Lastly: Open the services panel and restart the service HelpSpotApache.

#5

I have the same issue. Running apache, I tried the instructions you listed above, but no avail. It did not work for me.

Any other thoughts?

#6

Can you let us know any details on what errors you are seeing?

#7

Made the changes suggested in the post above and it essentially rendered the site useless. Stripped out all the formatting, there were links on the screen, but they did not work correctly.

#8

It sounds like you most likely missed this step. That is what causes the style sheets and JavaScript to not be loaded properly.

#9

The other possibilities are:

  1. Using “https://” (using SSL) in the browser, but the cHOST variable is set to “http://” (no ssl)
  2. The cHOST variable is set to a hostname such as 127.0.0.1, but you’re accessing it in the browser using another hostname from outside of the web server (and therefore the hostname 127.0.0.1 is attempting to reach your local computer localhost network instead of the web server’s).

The cHOST variable must be set to the URL you use to reach HelpSpot from your browser.

#10

Did exactly what you suggested

cHOST is set to http://helpdesk1.(mydomain).org:80

When I try to access the site, pic attached is the result. Any thoughts?

helpspot

#11

It looks like your document root is set to

C:\Program Files (x86)\helpspot\helpspot\helpspot

instead of:

C:\Program Files (x86)\helpspot\helpspot

Your document root should contain the index.php and admin.php files.

#12

admin config and index php files are in folder

C:\Program Files (x86)\helpspot\helpspot

httpd is in

C:\Program Files (x86)\helpspot\apache2\conf