Can someone help me with connecting my domain to my VPS?

herrada

Active member
Banned User
Sep 17, 2022
342
184
43
USA
I need help with connecting my domain to my VPS to access my cyber panel with my domain, not with my IP address
 

Mass

New member
May 30, 2022
18
6
3
  1. Get your VPS IP.
  2. Navigate to your domain DNS Zone and delete any A records that include @, www or cloudflare-resolve-to in its name.
  3. Add these two new A records.
 

robinSunny

New member
May 31, 2022
12
5
3
Get your VPS server ip address and point it to your domain's a record then check for cyber panel port and connect your domain via that port or custom address if you have set for the access.
 

bluvia

Active member
Feb 6, 2021
236
82
28
There are two approaches to choose from at this point:
  1. Using two A records – one for the www subdomain and another for the domain itself.
  2. Using A record for the domain and CNAME for the www subdomain.
Both of these options will provide you with the same result. Start by finding the current A record value and replace it with the dedicated IP address located earlier. Below, you’ll find a demonstration of how the entries should look like in your DNS zone.

Option 1 – Using two A records​

NameTTLTypeAddress
example.com14400A153.92.211.25
www.example.com14400A153.92.211.26

Option 2 – Using A record and CNAME​

NameTTLTypeAddress
example.com14400A153.92.211.25
www.example.com14400CNAMEexample.com

After pointing the domain to your VPS, it’s time to check whether the records were added correctly. Keep in mind that DNS propagation can take up to 24 hours, thus you may have to wait at least a few hours before everything starts working. However, most DNS checkup tools provide instant results. You may also do this using the dig command via terminal:
dig A +short hostinger-tutorials.xyz
Performing domain's A record lookup using the dig command

If the output shows your VPS dedicated IP address as the A record, everything was done correctly! The remaining part is waiting for the DNS to fully propagate worldwide.
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu