V
V
varfi2022-03-24 15:20:38
ubuntu
varfi, 2022-03-24 15:20:38

Create a local server as your own hosting?

Good afternoon, the
question is the following. There is a server on which Ubuntu 20.04 and on it is OpenLiteSpeed ​​+ Cyberpenel. How to make your own web hosting out of it (roughly speaking, bring it to the network). There is a Server in the local network, it connects to the Internet through a router. ports 80,443,53 are open and forwarded.

I set both the video
and the instructions

for the effect to zero. 404 error even in the local network (stupidly connected to my computer)

where to google?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadim Zakirov, 2022-03-24
@zkrvndm

1. You need to order a static IP address service from your Internet provider. This is necessary so that your home computer always has the same IP address and that it never changes.
2. You need to buy a domain from any domain registrar. This domain should be directed to any DNS hosting you want, usually domain registrars have free DNS hostings, you can use them.
3. In the DNS hosting settings, write an A-record indicating the IP address of your computer there. Remember that in step 1 we made a static IP address for ourselves.
In principle, this is enough for the site to open from the Internet, while opening on your computer.
PSIt is assumed that you have already deployed your site locally and configured the web server itself. Otherwise, all these steps are meaningless.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question