How could my clients see the content serve by apache web server in my droplet? The port 80 is not open to internet?
A fierwall consideration…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If you have terminal access (and a sudo-enabled account) to your server then try typing the following to see if you have a firewall active and what ports are allowed:
sudo ufw show added
if port 80 is open you should see an entry like this:
ufw allow 80
If not then you need to open port 80 by using the following command:
sudo ufw allow http
I would add a few other ports too (for https and SSH)
sudo ufw allow ssh sudo ufw allow 443/tcp
Hope that helps
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.