It depends on the directory or sub-directory where you put the osticket scripts file on your web server.
For example, your main domain is: domainname.com and the root-directory for this main domain is "public_html". Usually, you create a sub-directory named "upload" *) under the "public_html" directory, and put all of your osticket script files in that "\upload" sub-directory.
After that, you also create a special sub-domain for your osticket system with name: ticket.domainname.com which is point to "public_html\upload\".
In that case above, then you should enter http://ticket.domainname.com(http://ticket.domainname.com) (without adding /upload after com) on "Helpdesk URL:" directive in your osticket's Admin Panel.
Best regards,
Masino Sinaga
*) P.S: In my humble opinion, it is strongly not recommended you give name "\upload\" sub-directory to put all osticket script files. Give it name more informative, such as: "\osticket\".