I've been kind of bashing my head against the wall on this one and after reading up on / researching the use of CNAME's and other DNS zone settings, I'm not sure of the best way to do this, so I'm hoping someone here can please help.
Let's say I have a customer on one of my cPanel servers, and he wants to host his DNS / email for his domain through my server, but he wants the web site for his domain name to be hosted on his home computer / server.
Now let's say the IP for his domain "example.com" on my shared hosting server is 123.456.123.456 and the IP where he wants to host his actual web pages is 789.012.789.012.
The ultimate goal is to have his domain "example.com" serve his web site pages from his home server at 123.456.123.456, but his have his domain registration still use my nameservers, and have his account on my server still handle all the email processing.
What is the best way to achieve this?
I've tried editing his DNS zone and pointing the A record for his domain to his other computer IP address, and putting a check next to the option for my server to still handle the MX / email for the domain, and so far that kind of works but DNS reports show problems with using this method (failure to locate mail server, etc...) and it appears to be non RFC compliant.
Is there a better way to do this using CNAME instead? I believe we tried creating a CNAME for "example.com" (not his real domain of course) and pointing that to the IP address of his external home server, but then his domain is only accessable via www. and not without the w's.
I know I'm overlooking something simple here, but all of the CNAME / DNS documentation I've been reading is just confusing me further on the issue.
If anyone is willing to provide guideance I'd be extremely appreciative.
Thank you for any thoughts on this!
Let's say I have a customer on one of my cPanel servers, and he wants to host his DNS / email for his domain through my server, but he wants the web site for his domain name to be hosted on his home computer / server.
Now let's say the IP for his domain "example.com" on my shared hosting server is 123.456.123.456 and the IP where he wants to host his actual web pages is 789.012.789.012.
The ultimate goal is to have his domain "example.com" serve his web site pages from his home server at 123.456.123.456, but his have his domain registration still use my nameservers, and have his account on my server still handle all the email processing.
What is the best way to achieve this?
I've tried editing his DNS zone and pointing the A record for his domain to his other computer IP address, and putting a check next to the option for my server to still handle the MX / email for the domain, and so far that kind of works but DNS reports show problems with using this method (failure to locate mail server, etc...) and it appears to be non RFC compliant.
Is there a better way to do this using CNAME instead? I believe we tried creating a CNAME for "example.com" (not his real domain of course) and pointing that to the IP address of his external home server, but then his domain is only accessable via www. and not without the w's.
I know I'm overlooking something simple here, but all of the CNAME / DNS documentation I've been reading is just confusing me further on the issue.
If anyone is willing to provide guideance I'd be extremely appreciative.
Thank you for any thoughts on this!