Answer the question
In order to leave comments, you need to log in
How to set up web hosting on a computer based on server hardware?
I am training in creating tg bots, using custom access to the tg apish, however I want to switch to webhooks, but for this I need to specify how telegrams can reach me directly, for this, in theory, I need to specify instead of the domain (if I have one no) http://ip.ip.ip.ip:port/api ... .
Is this statement true?
Enable forwarding on the router, of course, but what port should I specify for forwarding? And when I conditionally launch this project through the same studio (and this is exactly the site on mvc), then what port will the program allocate to me? And how do you know?
I didn’t encounter these problems before, because I didn’t try to implement this on my own, I usually did it through hosting and domains, but now I don’t see the need for it, and I want to do it all myself somehow, if I have a static IP, white, in everything is beautiful in this regard.
Answer the question
In order to leave comments, you need to log in
Read.
https://habr.com/ru/post/495350/
In short:
1. static ip from the provider ~ 150 rubles a month
2. router setup (forwarding 22,25,110,143,80,443,1337,3389 ports)
3. server setup
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question