Answer the question
In order to leave comments, you need to log in
How to redirect to a specific port on the server side?
I have my own home server, which is available on the Internet only on port 192 (ip: 192)
I bought a domain and cannot bind it to my ip, since you can only specify ip, without a port.
Wrote in those. support. I received the following response:
"Hello!
The domain is directed only to IP. Redirection to a specific port is already carried out on the side of the server itself. Therefore, you need to contact the support of the hosting provider on this issue."
Option to put the server on port 80 - do not offer. Unable to skip.
How to make this same redirect on the server itself, which is mentioned in the answer?
Thank you.
Answer the question
In order to leave comments, you need to log in
Of the conditions set, you cannot make you type only the domain in the browser. It is only possible by specifying domain:port ( example.com:192/), because your domain will resolve to a specific ip.
If you cannot interact with port 80 in any way, then nothing will work.
In the virtual host, specify which port to listen on - Listen 192. https://httpd.apache.org/docs/2.4/bind.html
No way.
You can only bind a domain name to a "white" IP. This IP is clearly on your router (or somewhere else, who distributes the Internet). The router provides forwarding, but no more. The only option is to find out who occupies port 80 and remove / move this service
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question