So my question is literally how to setup a website with a droplet? I’ve spent this whole day trying to figure it out and I can’t, I’m on Windows 10 and have FileZilla, I connected to the droplet with root and password, what directory I need to upload my index.html in order for it to be accessible when user requests the file? mydomain.com/index.html I bought the $5 droplet thing Oh yeah lol, my website isn’t even accessible, it’s epicdevsoft.xyz and I put all three nameservers correctly and the website isn’t accessible still
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!
Hi there,
What you would need to do is to install a webserver like Nginx or Apache.
You could follow the steps on how to do that here:
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04
After that, once the web server has been installed on your Droplet, you have to upload your index.html file to the /var/www/html directory.
Regarding your domain name, you need to do the following:
https://cloud.digitalocean.com/networking/domains/
Keep in mind that once you make that DNS change it could take up to 24/48 hours for the DNS cache to clear over the Globe before you could see the new changes. You can use a tool like this one to keep an eye do the DNS:
https://www.digitalocean.com/community/tools/dns
Alternatively, if you are only having a static website with a single index.html file, what you could do is to use the DigitalOcean App platform as show in this video here:
Let me know how it goes. Best, Bobby
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.