P
P
pierabelar2021-11-04 14:04:12
local server
pierabelar, 2021-11-04 14:04:12

Local ISS address - how to create?

Good afternoon!

The director set the task so that 1C would work locally on several computers without the form http://localhost/base_name/ru_RU/ and without an IP address (now we prescribe the server address, then the base). but it looked like this: base.namesayta.ru and worked only in the local accounting network. The network there is closed, 8 computers and a server.
That is, there should not be such a subdomain registered on the Internet, purely on the local network. In this case, access to the Internet must be.
The problem is that I have not worked with the Windows server (we have 2016) before and IIS has already connected according to the manuals. Himself enikeyshchik. Don't drink too much. The boss lies with a crown, there is no one to ask.
PS Mikrotik router.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AUser0, 2021-11-04
@pierabelar

On each Windows computer, add a line to the C:\Windows\system32\drivers\etc\hosts file
11.22.33.44 baza.site-name.ru
, respectively changing the IP address to the address of your server, and site-name.ru to the real name of your site.
And do not forget to enter your site name in IIS (that's what it's called) so that IIS (I repeat, it's called that) knows that baza.site-name.ru is located in such and such a directory.
This is the shortest way, without setting your own DNS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question