15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started
31.10.2024

How to Link a Domain to Hosting

Link Your Domain to AlexHost VPS: Live in 5 Minutes

Point your domain to AlexHost’s VPS with NVMe, LiteSpeed, cPanel, and DDoS protection—and go live in under 5 minutes. This guide shows how to update nameservers, add domain in cPanel, upload files, and verify HTTPS for instant, secure, high-speed hosting.

1. Obtain Your Hosting Provider’s Nameservers

When you sign up for a hosting service, your hosting provider will supply you with nameserver information. This typically includes two or more nameservers, such as:

ns1.yourhostingprovider.com ns2.yourhostingprovider.com

You’ll need these nameservers to link your domain to your hosting.

2. Log Into Your Domain Registrar

To link your domain to your hosting, log into your domain registrar’s control panel (where you purchased your domain).

3. Locate DNS Management Settings

Once logged in, find the DNS management section or domain management area. This is often labeled as DNS Settings, DNS Management, or Nameservers.

4. Update Nameservers

Step 1: Find the Nameserver Settings

In the DNS management section, look for an option to manage nameservers. This may be under Domain Settings or Advanced DNS.

Step 2: Change the Nameservers

  1. Replace the existing nameservers with the ones provided by your hosting provider.
  2. Example:
    ns1.yourhostingprovider.com ns2.yourhostingprovider.com

Step 3: Save Changes

After entering the new nameservers, save your changes. The update may take a few minutes to several hours to propagate across the internet.

5. Verify Domain Linking

After updating your nameservers, verify that your domain is correctly linked to your hosting.

Step 1: Wait for Propagation

DNS changes can take up to 48 hours to propagate fully, but often it’s much quicker.

Step 2: Check Domain Status

You can use online tools like WhatsMyDNS to check if your domain points to the correct nameservers.

6. Configure Your Hosting Account

Once the domain is linked to your hosting, ensure your hosting account is set up to recognize your domain.

Step 1: Log Into Your Hosting Control Panel

Access your hosting control panel (e.g., cPanel, Plesk).

Step 2: Add the Domain (If Necessary)

  1. In cPanel, go to Domains or Addon Domains.
  2. Add your domain if it’s not already listed. For primary domains, this may not be necessary, as it’s often set during the account setup.

7. Upload Your Website Files

Now that your domain is linked to your hosting, upload your website files to the hosting account. Typically, you’ll upload files to the public_html directory or a specific folder if you added an addon domain.

8. Test Your Website

After everything is set up, test your website by entering your domain name in a web browser. Ensure that it loads correctly and functions as expected.

9. Troubleshooting Common Issues

If your website does not load after a few hours:

  • Check Nameserver Propagation: Use online tools to verify if nameservers have propagated correctly.
  • Ensure Hosting is Active: Confirm that your hosting account is active and your domain is properly linked in the control panel.
  • Clear Browser Cache: Sometimes, cached data may prevent you from seeing changes. Clear your browser cache or try accessing the site from an incognito window.

Conclusion: Go Live in Minutes with AlexHost VPS

Link your domain to AlexHost in 3 clicks—get NVMe speed, free SSL, LiteSpeed performance, and DDoS protection. From nameservers to HTTPS, your site is live, secure, and ranked. Launch now!

15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started