cPanel DNS Confiuration - OVH VPS with AlmaLinux 8

Sprilix

Registered
May 25, 2023
1
0
1
London
cPanel Access Level
Root Administrator
Hi,
I have just purchased a VPS with OVH and I have my domains registered on Namecheap and I am trying to create a fully functioning web server.

What I have:
OVH VPS + cPanel + Almalinux 8
1 main IP + 3 additional IPs
domain1.xyz
domain1.com
domain2.com

What I want:
Hostname: host.domain1.xyz (Main IP)
Nameserver1: ns1.domain1.xyz (Dedicated IP 1)
Nameserver2: ns2.domain1.xyz (Dedicated IP 2)

Accounts:
domain1.com (Main IP)
domain2.com (Dedicated IP 3)

(Do I need to add domain1.xyz as an account? I bought the .xyz specifically for the server)
(Is it a bad idea to use a domain .xyz extension as my nameservers/hostname)

What DNS records do I need to add with the domain registrar for this to work?
 
Last edited:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,558
2,610
363
cPanel Access Level
Root Administrator
Hey there! You'll want to register the nameservers with Namecheap:


Then you'll want to create an account for domain.xyz and ensure the A records for the nameservers are in place so they resolve in DNS.

Let us know if you run into issues with that!