Follow these steps for changing your existing WordPress domain:
- Backup your existing site.
- LogIn as Administrator.
- Enter the setting page.
- Change the WordPress Address(URL).
- Change the Site Address (URL).
- 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.