Sub domain + + nginx + odoo

Hello, Currently I have a droplet with odoo set up on it. I have installed Nginx. Our domain name is at and currently dns and name server are pointing to another webhost where we have our website and mail server. I am trying to setup a sub domain (let’s “” sub) of our domain to point in direction to digital ocean server odoo instance. I understand that I should normally use nginx to filter the in order to redirect to ip:8069. I don’t undertand if the should be set up at the registar first or only at digital ocean , or only at nginx or in all of them and how… I searched online , there is no topic or tutorial which is exacltly the same case then I.

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.


Yes, this can be achieved with Nginx server blocks.

For more information on how to set that up, you can follow the steps here: