About Lesson
To connect your hosting to your domain in a WordPress website, follow these steps:
-
Log in to your hosting account and locate your domain settings.
-
Look for the option to set your domain’s nameservers. This is typically found in the DNS (Domain Name System) or Nameservers section.
-
Replace the existing nameservers with the ones provided by your hosting company. These nameservers will be in the format of ns1.yourhostingcompany.com and ns2.yourhostingcompany.com.
-
Save the changes to your domain settings.
-
Log in to your WordPress dashboard and navigate to the Settings > General page.
-
Update the WordPress Address (URL) and Site Address (URL) fields to match your domain name. Make sure to include the https:// prefix.
-
Save the changes.
-
Check your website to confirm that it is now using your domain name instead of the hosting domain.