Categories: Web Development Posted by: CVOS
Domain name masking is a really cool feature of the DNS system. It allows you to use a vanity domain name on an external third party service.
One example of Netpaths SEO using domain name masking is on our search engine optimization job board. The jobs are hosted on a server that is completely disconnected from netpaths.net servers, but the content appears to be served from us.
Domain name registrars that natively support domain name masking are Enom.com and Godaddy.com http://help.godaddy.com/article.php?article_id=424&topic_id=165. This tutorial concerns the zone file settings in the Web Host Manager of Cpanel (WHM) a very popular web hosting control panel.
Main > DNS Functions > Edit DNS Zone > Choose Zone to Edit
Unless you have a reseller hosting account or are a server administrator, you will not be able to access this file directly. Just contact your web hosting support rep and they will gladly change it for you.
In my example I use the .Mac service from Apple. This is a great service that provides a photo gallery, disk backup with iDisk, a super easy to use website builder, web and file hosting, Sync file synchronization, web mail with IMAP, shared calendar for iCal, groups, and 10GB of online storage. This is accessed through web.mac.com, and a standard user account and website would be http://web.mac.com/UserName/welcome.html
Instead we can make this same dot Mac web hosting account look like this: http://www.mydomain.com/
Though the wonders of domain masking, all your internal files will appear to be hosted on mydomain.com and none will ever know you are using the .Mac service. Well, they may be able to see you are using dotmac hosting because sneaky Apple places their made on a mac logo in the footer of every page.
Below is a screenshot of what the updated zone file should look like. I blurred the domain name details, but it still shows the correct details you will need to setup domain name masking. This setup also allows you to keep mail on your own server, as the MX records are pointed to the same IP address of the originating server. The reason for this is that the .Mac setup will not let you use your domain name for email. You can still accept email from your personal domain name using an email forwarder, this is in your cpanel control panel: Main >Mail > Forwarders > Add Forwarder
Cpanel Zone File:
Again this is for the .Mac web service but it will work with any site that accepts domain name masking.
