Report this

What is the reason for this report?

point domains to folders under LAMP (Work of AddonDomains)

Posted on January 31, 2015

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!



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.

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:

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.