I’ve setup an ubuntu server with LEMP and phpmyadmin and I’ve managed to setup an nginx vhost using your tutorial. However, I couldn’t see my vhost site until I added an entry on the DNS setup page. Now I see a site, but it’s the index.html file in my default web root, not my new vhost web root. But, there’s nowhere to specify the web root on the DNS setup page, so how do I let DNS know about the site, but then make sure requests go to the right web root on my server?
I’m new to this stuff, but I have to say the tutorials and interface (other than this issue I’m confused on) are great and I’m having fun learning!
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!
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!