I have bought a domain (
example.com) in 1and1 where I have my main website, this website is hosted in 1and1.
On the other hand I have a VPS server hosted in OVH. And I have Odoo installed in that server.
What I want to do is to map a subdomain that I've created in 1and1. So when I load
subdomain.example.com I want to load Odoo. But I can't change the DNS's of the subdomain, instead of this I must use the "A record" in order to make the forwarding.
What I have done:
- I create a domain
- I create a subdomain
- I registered my subdomain in OVH
- I read "A record" in the OVH subdomain registration and I copied it to the 1and1 subdomain configuration
Now, when I load my subdomain it redirects to a webmail page of OVH
Which are the next steps I should follow in order to load Odoo in that subdomain?
NOTE: I can use NginX as reverse proxy in the VPS server and I can change the port where Odoo is executed