cPanel DNS Confiuration - OVH VPS with AlmaLinux 8

iHate

Active Member
1,663
2010
306
270
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?
 
4 comments
You need to register the nameservers for your main domain.

Goto Add IP in cpanel and add your other 3 IPs.

Use your main IP for ns1.yourdomain
Use 2nd IP for ns2.yourdomain

Goto namecheap, your domain & add nameservers, and create ns1 & ns2 with the IPs you use in cpanel.

Wait a while and add nameservers in cpanel. and add A record for nameservers, Use search in WHM.
 
Back
Top