First you have to login to your Dedicated server as root via SSH. Then open the /etc/localdomains file with your favourite text editor. Next, check whether your domain is listed in it and if so - remove it from the list.
The next step is to open the /etc/remotedomains file and to add your domain name at the bottom of the list. Now the mail service will know that this domain is using a remote mail server.
You need help managing your dedicated server? We got it! SiteGround experts not only write helpful articles, but also manage the servers for our clients so they don’t have to read articles like this one.Learn more.