<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 10/20/19 8:38 PM, Charles Chambers
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:502c5ef0-9014-7f72-773e-e3591191b8ce@gmail.com">
      <pre class="moz-quote-pre" wrap="">I've got a current copy of the mirror downloaded, and I'm confused on
one point.

The repository is set up at /media/8TB/ubuntu-mirror.  The directories
are below that, and rsync is working to update that target directory.</pre>
    </blockquote>
    <p>Slightly different setup here, but I have a
      /srv/repository-mirror/ directory on my system set up as the mount
      point for the disk drive which holds my repository mirror.  This
      is pretty simple to set up, but where you've mounted things is
      irrelevant - it's the webserver setup parts that's specifically
      critical.</p>
    <p>You *probably* need to point your webserver's docroot to
      /media/8TB/ubuntu-mirror for your web server which is running on
      the same machine.<br>
    </p>
    <blockquote type="cite"
      cite="mid:502c5ef0-9014-7f72-773e-e3591191b8ce@gmail.com">
      <pre class="moz-quote-pre" wrap="">

I'm running Ubuntu 14.04 for the web server.  I have port forwarding set
up on my router to redirect calls to the public IP (currently
68.226.101.35) to the web server, which I know still needs some content.

However, I can't figure out how to set it up so that a URL of
<a class="moz-txt-link-freetext" href="http://68.226.101.35/ubuntu">http://68.226.101.35/ubuntu</a>) somehow draws content from
/media/8TB/ubuntu-mirror.</pre>
    </blockquote>
    <p>That's a question of setting up the web server and access
      permissions properly.  Have you started this setup process?  If
      so, what web server and what is your current setup?<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:502c5ef0-9014-7f72-773e-e3591191b8ce@gmail.com">
      <pre class="moz-quote-pre" wrap="">  Ancillary question would be how do I finish
the setup so that Apache2 would show the mirror from an address of, for
instance, http://[mirror].68.226.101.35?  This would be preferred, as I
also have the cdimage repository correctly mirrored, and stored at
/media/8TB/ubuntu-cdimage, and would like to use
http://[cdimage].68.226.101.35 for the URL.</pre>
    </blockquote>
    <p><br>
      Yeah, you can't have [text].[IPADDRESS] for a URL.  IP address
      bare, or get and use a domain with the URL.  This is just an
      Internet-ism, and DNS related, and how URL(s) are constructed.</p>
    <p><br>
    </p>
    <p>
    </p>
    <blockquote type="cite"
      cite="mid:502c5ef0-9014-7f72-773e-e3591191b8ce@gmail.com">
      <pre class="moz-quote-pre" wrap="">The end result would be conformance with whatever the structure is that
is reflected in a sources.list file.

TIA

Charlie
</pre>
    </blockquote>
  </body>
</html>