Think I have a domain mydomain.com and my website which is hosted in a cpanel / web server like serverplushost.com . All my email is also running in serverplushost.com.
But now i want to move my website to other server/ dedicated server(like IP 123.124.125.126) but keep email on serverplushost.com as it was before.
1. Login cpanel of mydomain.com. Click on Advanced DNS zone/ Simple DNS zone.
2. Add A record name mydomain.com and to the new server IP 123.124.125.126. Also add a CNAME for www.mydomain.com to point mydomain.com. (If there is already have one then edit it).
3. Add A record for webmail.mydomain.com and IP of serverplushost.com (default cpanel IP).
(it's possible that you already have a mail.mydomain.com / webmail.mydomain.com CNAME - delete that and only keep the A record).
So www.mydomain.com and mydomain.com is now pointed to new server IP and webmail.mydomain.com is now pointed to default cpanel hosting.
But now i want to move my website to other server/ dedicated server(like IP 123.124.125.126) but keep email on serverplushost.com as it was before.
1. Login cpanel of mydomain.com. Click on Advanced DNS zone/ Simple DNS zone.
2. Add A record name mydomain.com and to the new server IP 123.124.125.126. Also add a CNAME for www.mydomain.com to point mydomain.com. (If there is already have one then edit it).
3. Add A record for webmail.mydomain.com and IP of serverplushost.com (default cpanel IP).
(it's possible that you already have a mail.mydomain.com / webmail.mydomain.com CNAME - delete that and only keep the A record).
So www.mydomain.com and mydomain.com is now pointed to new server IP and webmail.mydomain.com is now pointed to default cpanel hosting.
No comments:
Post a Comment