Finding URL for UCSC data hub I am trying to build a UCSC track hub (a private one). 

I have all my hub files on a university server in a simple folder called /hub. I am using Ubuntu 16.04 and the server is also Ubuntu (16.04.3 LTS (GNU/Linux 4.4.0-98-generic x86_64).

I have tried using hubCheck and also simply upload the hub as instructed in the UCSC instructions.

The URL I have used to indicate the location of my hub is:

http://pcxxx.xx.xx.ac.uk/home/username/projects/project-name/hub/hub.txt


However, in both cases, I get the following error:

Couldn't open http://webserver-id/home/username/projects/project-name/hub/hub.txt
TCP non-blocking connect() to webserver timed-out in select() after 10000    milliseconds - Cancelling!


I am not very knowledgeable in servers and protocols (http, ftp etc). But am I right to think that this error means that my hub is somehow not internet accessible? I'm struggling to understand what this error means. When I log onto the server, I automatically arrive in my home folder: /home/username. My hub is in /projects/project-name/hub. 

Is there a way I can check if my folder location is indeed internet accessible?
Check your webserver functions from the top down.  You can do this from any WEB browser, even one that is on the webserver system itself.  For example, does this link function:
  http://webserver-id/
and provide you with a home page for that WEB service ?  If not, then there
is not apache WEB server on that system, or is mis-configured.

Next, depending upon how that Apache is configured, try this URL
  http://webserver-id/~username/
which would be a normal way to get to user directories via Apache.
This would actually be looking for a special directory in your HOME
directory, perhaps something like $HOME/public_html/
You would need to place something in public_html/ to access, for example
a tiny WEB page:

&lt;html&gt;&lt;head&gt;&lt;title&gt;my home directory&lt;/title&gt;&lt;/head&gt;
&lt;body&gt;&lt;h1&gt;hello world&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;


If that works, then you need to place your hub files in this
public_html/ directory.