I registered a domain through Github’s Student Education Program and redirected the Nameservers to my DO droplet as given in a tutorial. I pinged server and I am getting a response. I also installed Apache 2 and I have it running when I try “http://localhost/” in my browser. However, if I put the IP address in a web browser, it shows “The Webpage is not available.” Should it not show “It Works!” when I put the IP address too? Please help.
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!
This comment has been deleted
Hi,
Localhost usualy refers to the local machine you are on. Typing http://localhost on my computer will try to reach my computer, not my droplet.
Yes, a http call to your droplet’s ip should definately bring you Apache generic ‘hurray you golden member’ page… That’s IF Apache is installed and running.
To properly answer your question/assess your problem, we would need more precise informations.
http://localhost is, to me, MY computer. Any browser that clicks such a link will try, in theory, to reach itself/the machine it is installed on.
Providing the way you set up your dns nameservers would be a great start as oposed to ‘done something from A tutorial’.
Remember, nameservers can take up to 48 hours to propagate from your domain registrar to the world
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.