I can ping my droplet but cannot connect via browser

I am a newbie. I Have created a domain name registered it with my DigitalOcean droplet and I can ping it ok. But When i try to connect with my browser I just get the problem loading page screen. am i missing something or is it still a matter of waiting?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @gndo:

@bssmithies - You’re probably using ufw, so verify that it is active and which ports are enabled (at least your ssh port, port 22, should be open since you can ssh in)

# look for Status: active, and ports 80/tcp and 443/tcp
ufw status
# if you don't see 80/tcp or 443/tcp, add them
ufw allow 80/tcp
## port 443 is where https requests goes
ufw allow 443/tcp

[Edit: oops, this should have gone in the answer section]

View the original comment

This question was answered by @bssmithies:

I have cracked it now! I had to reinstall apache and everything is fine now. many many thanks for all your help!

View the original comment