Question

How configure Digital ocean DNS for use a external Domain with just A redirect to my droplet ip

Hello! I have actually this website: http://auditoriodetenerife.eu Its a redesign of this website: http://auditoriodetenerife.com (old one)

I need help with domain, i explain the case:

The server of the old websites its really bad, so we decided to use digitalocean from now to the .com domain, and the .eu (temporal domain will redirect back to .com)… I have .eu in /auditorio

And the .eu and .com i want to redirect them to /auditorio2 (to be only one website and erase the old website…)

The emails and dns of auditoriodetenerife.com should maintain in the old server, and they will do in the old server a A redirect to my droplet ip…

What should be the correct DNS and vhost configuration in DigitalOcean to use auditoriodetenerife.com with /auditorio2 ??

Hope i have fine explained, my english is bad.

Thanks.


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.

Hey, mhhh this is a god question. Some domain providers give you access to such a tool. Basicly its only a webserver which rewrite the url to another. Just create a new vHost and put it on your server. With this you can redirect the old domain to the new domain.

-Alenan