How can I point my domain to a subdirectory off root?

Hey thanks for reading,

I have an Ubuntu droplet running Apache and I just registered for a domain name. The problem is, my site is located at ‘my-ip-address/folder’ and my domain points at ‘my-ip-address.’

What do I need to do to have it send the user to the right place?

edit: I also want to mention I plan on hosting multiple sites from this server, so I’d prefer any help that will be best with that in mind.

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.

To answer my own question:

After a bunch of reading until I figured out how to properly ask the web my question, I found this guide:

All’s well! Thanks