Score:2

How to make my apache web server public?

fi flag

I am a complete beginner at web development. I want to try accessing my web server through another device from another network. Likewise, I have managed to access it from the same Wi-Fi using my iPhone using my local IP, it ran similar to what I imagined but when I tried to connect to the server using another Wi-Fi it will not show anything (Connection timed out). I think I have tried port forwarding, but I couldn't find an exact solution for that. Thank you in advance.

An explanation of what any of the fillable slots means is very appreciated:

Screenshot

I have asked this on StackOverflow and Webmasters but it is off-topic there.

ng flag
I am not sure about the image but the approach is to achieve that 80 port is redirected to your server local IP (i.e. 192.168.1.30) and to the port you configured your apache server (in most of the cases is the same port 80) check this url in the section of port forwarding, there is an image that can help you. https://linuxhint.com/setup_free_ssl_cert_apache_debian/ also at the end you should not try to enter externally with the local IP but with the Public IP (check https://www.whatismyip.com/ to know what public ip you have)
cn flag
What you need is port forward. Also, you need to identify your public IP. Some ISPs dont allow hosting ports. Once you setup port forward, you the public IP of your network to access it.
djdomi avatar
za flag
@Mick_Mick the Right platform for your question would be SuperUser, since your are not Managing Business Env. So Your Question is even on here Offtopic.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.