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
example.com
in 1and1 - I create a subdomain
subdomain.example.com
in 1and1 - 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
subdomain.example.com
setup as an A record for the IP address give by OVH, and if OVH really is listening on that IP address and port 80, assuming you're using the standard web port, forsubdomain.example.com
, and that uses the docroot for your software, then you should see that software. So, one of those things is likely not true.