Changing IP for Master Domain

1 post / 0 new
#1 Wed, 04/27/2016 - 04:53
coderinthebox

Changing IP for Master Domain

Hi,

Info 1. mydomain.com is hosted in 1.2.3.4 IP which is shared 2. ns1.mydomain.com is 1.2.3.4 3. ns2.mydomain.com is 5.6.7.8 4. I need to change the IP for mydomain.com to 5.6.7.8 which is a dedicated IP or to 11.22.33.44 which is also a dedicated IP

Reason I need to satisfy the SEO recommendation that the domain mydomain.com should resolve to 1.2.3.4 and 1.2.3.4 will load solely for mydomain.com

Problem 1. Changing the IP for mydomain.com results in error 403 for mydomain.com files 2. Old 1.2.3.4 defaults to a blank website which is understandable as the first to load

How can I achieve my target? Any guide or recommendation will highly appreciated. OS is CentOS7