M
M
mcklay2020-10-30 15:00:04
Apache HTTP Server
mcklay, 2020-10-30 15:00:04

Is it possible to access files (directories) through the site?

Good day!

The task is this:
There is a local computer where the html page is located, say D:\web\site\index.html .. And there is a site that is located in the server (openserver), in the same local subnet. The site has its own external IP and domain. It is necessary to make sure that the page on another machine opens on the main site under the domain, such as site.ru/site/index.html. How to register an alias or a virtual domain to do?

On the machine, it is necessary to register the rule that when typing site.ru/doc, it opened the path and IP address of the local machine?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Barbolin, 2020-10-30
@dronmaxman

nginx proxy

R
rPman, 2020-10-30
@rPman

If files on the local network are available (for example, through windows sharing \\computer_name\shares\directory ) then you can simply specify the directory in the web server settings, it will be distributed as normal static.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question