Report this

What is the reason for this report?

Sub domain + name.com + nginx + odoo

Posted on May 30, 2018

Hello, Currently I have a droplet with odoo set up on it. I have installed Nginx. Our domain name is at name.com 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 “abc.domain.com” 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 abc.domain.com in order to redirect to ip:8069. I don’t undertand if the abc.domain.com 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.



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.

Hello,

Yes, this can be achieved with Nginx server blocks.

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

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

Best,

Bobby

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.