M
M
Maxim Siomin2020-09-23 17:08:18
Computer networks
Maxim Siomin, 2020-09-23 17:08:18

How to make such a server?

I use two PCs at home. There is one extra. I have my own web application, but I don’t want to upload it anywhere, I only use it myself. And I would like to be able to access this site from both PCs. And use an unnecessary PC as a server. Can I somehow solve this without buying a domain? All connected to the same WiFi

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kolya K, 2020-09-23
@MaxSiominDev

Register in C:\Windows\System32\drivers\etc\hosts
IPcomputer inventing a domain
for example
192.168.1.100 wordpress.ivanov

A
Anatoly D, 2020-09-23
@imurd

1. install xamp as your web server.
2. put the application you need in the root of this web server.
3. in the hosts file, you can assign any name to this application (it will be available only inside the network
---
4. if you need to access the application from an external network, forward port 8080 (for example) on the router to this IP address (server). Also change the port value to 8080 in xamp
5 itself. Done, you can access your web application through your external (2ip.ru) address, with port 8080
For example 123.123.123.123:8080
6. If it turns out that your OUTSIDE address is static, you can bind any FREE domain name to your IP address. Also, automatic binding of a free site name and a DYNAMIC IP address can be done through the DUC program.
7. I have everything.

M
Maxim Korneev, 2020-09-24
@MaxLK

do not listen to advice about external DNS - for your task it is a waste of time and money. Kolya K Kolya K wrote correctly, do it this way - the problem will be solved in a couple of minutes without too much fuss.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question