Question

point domains to folders under LAMP (Work of AddonDomains)

i have install LAMP on UBUNTU Without Any problem and now if i point my domain to my VPS ip it’s work normally,

i tried use .htaccess but it didn’t work for me

i want to Point many domains to same VPS ip but not displaying the same content i mean that for example The first Domain point to a Sub Folder and the Others to a different Folders if we use For Example CPANEL it’s easy to Click on Addon Domains But Now i don’t have any idea about what should i do? please Help me ! dns lamp point!


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.

Take a look at:

You will need to create a Virtual Host for each separate domain that you are going to host on your droplet. Make sure you add the needed DNS records as well: