How to change WordPress site URL
<p>I have a WordPress install on an AWS EC2 instance (LAMP). </p>

<p>I have changed the DNS from godaddy via Route53 and set up an A record and CNAME for the EIP. </p>

<p>I changed the site and home URL in the WordPress admin (from the EIP to <a href="http://swsportpsychology.co.uk" rel="nofollow noreferrer">http://swsportpsychology.co.uk</a>) and the site wont load. (server not found). </p>

<p>I have changed the site and home URL in both WP-config and functions.php to no avail. </p>

<p>I have also changed the site and home URL in phpMyAdmin (wp_options). For some reason I can load the blog page of the website but the home page doesn't loads. (The site is currently located at /var/www/html)</p>

<p>This is the home IP: <a href="http://52.210.185.14" rel="nofollow noreferrer">http://52.210.185.14</a></p>

<p>This the blog IP: <a href="http://52.210.185.14/blog" rel="nofollow noreferrer">http://52.210.185.14/blog</a></p>