WordPress – Changing site domain name

Follow these steps for changing your existing WordPress domain:

  1. Backup your existing site.
  2. LogIn as Administrator.
  3. Enter the setting page.
  4. Change the WordPress Address(URL).
  5. Change the  Site Address (URL).
  6. Change wp-config file to include the following :
define( 'WP_HOME', 'https://Your new domain name' );
define( 'WP_SITEURL', 'https://Your New Domain Name' );

7. Change the following line in the  WEB.Config file :

rule name="WordPress: https://Your new domain name" patternSyntax="Wildcard"

8. change IIS website binding to the new domain.