DNS changes after migration – how to handle it?
-
never touched WordPress before but been tasked to migrate a site from a hosted solution into AWS. Migration has been completed but now I am wondering when/if I should change the site URL in the wp-config.php.
The following two lines are in the wp-config.php file:
define( 'WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/' ); define( 'WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/' );
My question is if I change the DNS address to point to the new address in AWS – will the site URL and home URL in WordPress change dynamically? or do I have to manually input the URL in the wp-config file?
Thanks
—————————-
code from AWS Projects.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘DNS changes after migration – how to handle it?’ is closed to new replies.