Question

Domain Configuration

Hi,

I have a droplet in DigitalOcean and am having issues to configure a domain a bought on it.

So, I have a LAMP on Ubuntu 12.04 installed on my droplet and have a couple of folders in there with a couple of different websites. I also bought a domain through registro.br (a brasilian domain name provider) and Im going to buy another domain on goDaddy.

I would like to point each of these domain to a subfolder in my droplet, for example: domain1.com.br -> myIPonDO/subfolder1 domain2.com -> myIPonDO/subfolder2

Ive tried a couple of things but had no success, not even to point my domain directly to my IP. :(

Any idead of how to do it?

Thanks a lot. Diego Dacal.


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.