D
D
Denir02018-08-06 22:12:18
linux
Denir0, 2018-08-06 22:12:18

How to set up external access to Ubuntu server?

I wanted to make myself a hosting for the site, I installed LAMP and phpmyadmin on Ubuntu 16.04. Everything according to the instructions, as expected.
apt-get install lamp-server^ phpmyadmin
I set up users, uploaded index.html to the site directory for verification. But when I try to access the site by IP through a browser (on my computer), the site does not open, it is loading, and as a result, the page is not available. IP static, responds.
netstat -ntpua | grep apache

tcp6       0      0 :::80                   :::*                    LISTEN      9754/apache2

Port 80 is open for Apache2

PS: I bought a server for VPN, I still use it, can it affect?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Bobylev, 2018-08-06
@Denir0

iptables -F INPUT; iptables -F OUTPUT; iptables -P INPUT ACCEPT; iptables -P OUTPUT ACCEPT

D
Dimonchik, 2018-08-06
@dimonchik2013

VPN cannot
see server logs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question