K
K
KTG2017-06-14 00:20:13
Domain Name System
KTG, 2017-06-14 00:20:13

Denver. How to publish multiple sites on a local network?

I can open 1 site by IP by writing the .htaccess file and ip-address in the site directory.
But even then, it opens the site only by IP.
There are 2 sites on the same computer: test1.ru and test2.ru
How can I make it possible to open them from the network by name?
Editing hosts on remote computers is not suitable.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Wolf, 2017-06-14
@KTG

How can I make it possible to open them from the network by name?

Add to file C:\Windows\System32\drivers\etc\hosts resp. records, on all computers in the local network from which you need to open these sites or register these domains and bind them to the desired IP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question