Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Change Domain Name Without Changing Server

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Switching your website to a new domain name usually sounds like a big project, but it doesn't have to involve moving your hosting or touching your server files. This guide shows you how to point your existing server to a new domain by updating DNS records, adding the domain to your hosting control panel, and handling redirects so visitors and search engines follow along smoothly.

What You'll Need

  • Access to your domain registrar (where you bought the domain, like GoDaddy, Namecheap, or Google Domains).
  • Access to your hosting control panel (cPanel, Plesk, or a custom panel from your host).
  • The new domain name you want to use, already registered.
  • Your server's IP address (usually found in your hosting welcome email or control panel).
  • Optional: an SSL certificate for the new domain (many hosts offer free ones via Let's Encrypt).

Step-by-Step

  1. Back up your website files and database. Even though you're not moving servers, it's smart to have a recent backup before changing anything DNS-related. Most control panels have a backup tool, or you can use your hosting provider's backup service.
  2. Find your server's IP address. Log into your hosting control panel and look for "Server Information," "IP Address," or check your welcome email. It's usually a string of numbers like 192.0.2.1. Write it down—you'll need it for DNS.
  3. Add the new domain to your hosting account. In cPanel, go to "Domains" → "Create a New Domain" or "Addon Domains." Enter the new domain name and set the document root to the same folder as your current site (or a new folder if you plan to move files later). In Plesk, go to "Websites & Domains" → "Add Domain." This tells your server to respond to requests for the new domain.
  4. Update DNS records at your registrar. Log into your domain registrar's website, find the DNS management page for the new domain, and create an "A Record" pointing to your server's IP address. If you use a subdomain like www, add a CNAME record for "www" pointing to your main domain (or an A record for www with the same IP). Some registrars let you set this up with a simple "Host Records" form.
  5. Wait for DNS propagation. DNS changes can take anywhere from a few minutes to 48 hours to spread across the internet. You can check if it's working by using a tool like whatsmydns.net or by pinging the new domain from your computer.
  6. Test the new domain. Once DNS has propagated, visit your new domain in a browser. You should see your website. If you see a default page or an error, double-check that the domain is correctly added to your hosting and that the A record points to the right IP.
  7. Set up redirects from the old domain. To avoid losing visitors and search rankings, redirect all traffic from the old domain to the new one. In cPanel, you can use the "Redirects" tool under "Domains." Set the old domain to redirect to the new domain with a 301 (permanent) redirect. If you're using Apache, you can also add a .htaccess file with a redirect rule. For Nginx, edit the server block for the old domain.
  8. Update your SSL certificate. If you had SSL on the old domain, you'll need a certificate for the new one. Many hosts offer free SSL through Let's Encrypt—just enable it for the new domain in your control panel. If you use a paid certificate, you'll need to reissue it for the new domain.
  9. Update internal links and resources. Go through your website's content and change any hardcoded links that use the old domain. This includes image URLs, CSS/JS file paths, and links in your database. If you use WordPress, you can use a search-and-replace plugin or run a SQL query to update the site URL.
  10. Update your site's canonical settings. If you use a CMS like WordPress, update the Site Address (URL) in Settings → General to the new domain. This ensures all generated links use the new domain.
  11. Notify your email service. If you use email on your domain (like you@olddomain.com), you'll need to update your email client and any MX records for the new domain. This is often overlooked but crucial for business continuity.

Common Mistakes

  • Forgetting to add the new domain to hosting. Just updating DNS won't work—your server needs to know about the domain. If you skip this step, you'll get a "site not found" error.
  • Using the wrong IP address. Double-check that the IP you enter in DNS is the same one your hosting uses. A typo can point visitors to a completely different server.
  • Not setting up redirects. Without a 301 redirect, old bookmarks and search engine links will break, and you'll lose SEO value.
  • Changing DNS before the domain is added to hosting. This causes downtime and confusion. Always add the domain to your hosting first.
  • Forgetting to update email settings. If your email is tied to the old domain, you'll stop receiving messages unless you update MX records and client settings.

Tips

  • Do it during low traffic. Even with redirects, there's a small chance of hiccups. Schedule the change for a quiet time.
  • Keep the old domain for at least a year. Renew it so you don't lose it to someone else. Redirects will keep working as long as the domain is active.
  • Use a temporary redirect during testing. If you're unsure, use a 302 redirect initially, then switch to 301 once everything is stable.
  • Update your Google Search Console. Add the new domain as a property and submit a change of address to help Google transition your rankings.
  • Test on a different network. DNS propagation can be uneven. Use a mobile hotspot or a VPN to test the new domain from a different location.

Troubleshooting

  • New domain shows a "site not found" error. Check that the domain is added to your hosting and that DNS records are correct. Use a DNS checker to see if the A record is propagating. If it's been over 48 hours, contact your registrar or host.
  • New domain shows your hosting provider's default page. This usually means the domain is pointed to the server but not added to your hosting account. Go back to your control panel and add the domain.
  • Old domain still shows the site instead of redirecting. Make sure the redirect rule is active. In cPanel, check that the redirect is set to the correct URL and that "Wild Card Redirect" is enabled if you want all subpages to redirect.
  • SSL certificate not working on new domain. If you're using Let's Encrypt, try reissuing the certificate. Some hosts require you to remove the old certificate first. If you're using a paid cert, verify that the new domain is included in the certificate.
  • Emails stop working. Update your MX records at the registrar for the new domain. If you use a third-party email service, add the new domain to their dashboard and update your mail client's incoming/outgoing server settings.
  • WordPress site shows broken links. Run a search-replace for the old domain in the database. Use a plugin like Better Search Replace or use WP-CLI. Be careful not to replace partial URLs—use the full domain with https://.

Frequently Asked Questions

Do I need to move my website files to a new server?

No. The whole point of this guide is to keep your server unchanged. You only update DNS and add the new domain to your hosting configuration.

How long does it take for the new domain to work?

DNS propagation usually takes between a few minutes and 48 hours. It depends on your registrar and the TTL (time to live) settings on your DNS records.

Will I lose my search engine rankings?

If you set up 301 redirects from the old domain to the new one and update Google Search Console, you can preserve most of your rankings. It's not guaranteed, but proper redirects minimize the impact.

Can I keep both domains working at the same time?

Yes. You can leave the old domain active and redirect it to the new one. That way, visitors using the old domain will be sent to the new site automatically.

Do I need to update my email addresses?

If you want to use the new domain for email, yes. You'll need to create new email accounts or update your MX records. You can also set up forwarding from old addresses to new ones.

What if my new domain is already in use by another website?

You cannot point a domain that's already active on another server to your site without taking over that domain. Make sure the domain is registered to you and not currently in use elsewhere.