0

Recently I use Apache2 to build a website on my Ubuntu 18.04 machine. I can successfully access my website via both IP and domain through the server itself and other devices under the same network. However, I cannot visit my website through cellular networks. This is my website domain: doubilab.com. This is my IP: 131.128.54.59.

The status of the Apache server is as follows: Apache2 Status

Notice that the firewall is inactive.

  • This requires a bit more than just enabling apache. You have to set port-forwarding on your router, and also have public IP. – John Ronald Sep 03 '20 at 18:26
  • @JohnRonald Thanks for your answer. I believe this is a public IP. But I have a question about the port-forwarding. Before I install Apache2, I can access my machine via SSH from external network. But now I cannot. Why did this happen? – Jiangong Sep 03 '20 at 19:04
  • That's hard to say without any logs or additional information provided. Are you sure your SSH service is running ? – John Ronald Sep 03 '20 at 19:15
  • @JohnRonald I just test another Ubuntu server under the same network, which could be accessed via SSH from the external network. But my machine cannot. Can you tell me some orders so that I can provide some logs? – Jiangong Sep 03 '20 at 19:24
  • First try to find out if Apache is what blocks your SSH connections. (Which is pretty unlike ). So disable Apache and try SSH again – John Ronald Sep 04 '20 at 05:16
  • 1
    Does this answer your question? How to set a domain to ip address? – pa4080 Sep 05 '20 at 07:59

0 Answers0