My bro is wanting to host his company site on my servers, however here's where the problem lies. He currently uses a separate mail server on the domain for email so the domain is already delegated to that mail server. I've never faced this kinda problem before and I'd really appreciate any advice anyone can give with regard to how to now host the domain/site on my separate web server whilst not mucking up the config for the mail server. Is it just a matter of keeping the existing name servers for the domain and adding the two additional name servers to point to the web server? Cheers
A mail server for the domain is pointed to by DNS MX records. You can run the following commands (same for Windows/Linux) to figure out what those are and configure your DNS server similarly: nslookup set type=mx domain.com. The response will be a list of mail servers for this domain. Each sending SMTP server will do the same and then lookup IP address for the returned domain name(s). Use www.dnsreport.com to verify your MX records and other DNS settings. J.D.
Well I've identified the 3 separate MX records with your tool, but how would I go about configuring the DNS server similarly?
You need to edit your DNS records. How, will depend on what software you are using. If you have some kind of a control panel for your server, you can use its UI. If you are running a DNS server on Windows, there's a DNS console. If you are running Linux, you can simply edit your DNS settings file. Usually adding a record like this will do: @ MX 10 mail.domain.com. Code (markup): Number 10 is the priority of this server. If you have several mail servers, you can assign lower values to your primary servers. J.D.