Hello, I have recently propogated my domain quizimax.com to Digital Ocean but it is not pointing to directories. I am new to digital ocean. I created a sudo user and created the directories for it /var/www/ in it. I have put my code in it. Now I want to point the domain to this directory.
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 @endritkanani,
I can see your domain is pointing now to a DigitalOcean droplet. Most probably you needed to wait for your DNS to propagate.
Now to your other question, in order to point your website to load files from the /var/www folder, you’ll need to install a WebService - either Apache or Nginx. Since you haven’t mentioned which one you’ve chosen or even installed, I’ll provide you with the two articles which you can follow.
The first article will help you with installing Nginx among MySQL and PHP. If you have installed them, you can skip those steps and directly go to Nginx installation and configuration:
The next article will help with Apache. MySQL and PHP again are included but as said above you can skip those steps if you have already installed the services :
Regards, KFSys
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.