We have o2switch as host. And OVH as domain name.
In the panel of your domain company OVH.
You have to change the server DNS with the DNS of the host company here o2switch.
For exemple with o2switch company we have :
DNS primary : ns1.o2switch.net (109.234.160.5)
DNS secondary : ns2.o2switch.net (109.234.161.5)
server Host exemple : 192.234.8.2
So in OVH panel we change the server DNS :
Menu -> Web domain -> domains -> name_of_your_domain
Next step :
We have another thing to do. Say the domain name what ip as our host :
-So We need to change the DNS zone :
We need to change the target here define as "target". Who have the type A with the adress ip of our host server o2switch here 192.234.8.2.
If you don't change the DNS zone you will get this error ERR_CONNECTION_REFUSED