Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
I want to serve files from my domain in subfolder such as this http://22.214.171.124/agent/index.html
I am looking to host more than one site off of a single VPS. However I want to serve files from my domain in subfolder such as this http://126.96.36.199/agent/index.html or http://188.8.131.52/students/index.html, or http://184.108.40.206/teachers/index.html. When I visit this url in browser I get a ‘NOT FOUND’ error. How may I fix this? I do not want to use sub-domain, if I can avoid it. Are there any tutorials/resources that treat this use case?
My droplet has LAMP with UBUNTU MYSQL on 16.04.
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.×