Question

How do I create an directory alias for use on my website?

I’m brand new to DO and linux and I’ve been looking for a while and still am not able to sort this out.

I need to create a virtual directory/shortcut/alias etc to use on the website so that www.website.com/docs/ points at the resources at /var/www/html/ifiles.

Thanks for the noob help in advance.

Subscribe
Share

Submit an 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.

Thanks for the input but I was asking the wrong question. I did need an alias but for apache. A little more digging and I was able to get that working.

Thanks again for your time and patence.

In Apache that’d be “Alias /docs /var/www/html/ifiles”