Title: Mapping subdomain using different nameserver
Last modified: August 31, 2016

---

# Mapping subdomain using different nameserver

 *  Resolved [dannysheppard](https://wordpress.org/support/users/dannysheppard/)
 * (@dannysheppard)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/mapping-subdomain-using-different-nameserver/)
 * I am trying to move my Blogger blog to a blog in my WordPress Multisite installation.
   I have imported the blog, and my multisite installation works fine, but I am 
   having problems getting my domain mapping to work. Here’s my configuration (not
   real domain names):
    1.  Multisite install is on Hostgator.
    2.  The following domains are registered with GoDaddy and have nameservers set 
       to Hostgator: multisiteparent.com, examplesite.com
    3.  examplesite is currently configured as a parked domain with Hostgator and mapped
       to one of the sites in my multisite install without issue.
    4.  The following domains are registered with GoDaddy and use GoDaddy nameserver:
       mainsite.com. This address redirects to my photo website hosted by Smugmug.
 * Currently, blog.mainsite.com is configured to point to my Blogger blog. But I
   want to change it to point to photoblog.multisiteparent.com (i.e. a site in my
   multisite installation).
 * So far I have:
    1.  Added blog.mainsite.com domain mapping and set it as primary domain on photoblog.
       multisiteparent.com
    2.  Added a CName entry in GoDaddy config host: blog, points to: photoblog.multisiteparent.
       com
 * I thought that would do it, but now when I go to blog.mainsite.com (or photoblog.
   multisiteparent.com) I get a Hostgator 404 error.
 * I contacted Hostgator support, and they told me that this sub-domain mapping 
   would not work because I was using multisite installation and mainsite.com was
   using GoDaddy’s nameservers. If I wanted to use this configuration, I would have
   to create a separate WP installation to get the mapping to work.
 * Is the Hostgator support tech right that it’s impossible? Is there something 
   I can do to get this working?
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/mapping-subdomain-using-different-nameserver/#post-7072920)
 * Hey Danny,
 * There is some crazy amount of information in this post! 🙂
 * >  Added blog.mainsite.com domain mapping and set it as primary domain on photoblog.
   > multisiteparent.com
 * This is correct.
 * >  Added a CName entry in GoDaddy config host: blog, points to: photoblog.multisiteparent.
   > com
 * This is never going to work, as this is the zone of a totally different domain
   name. (I keep wondering how you were able to do it, unless it actually points
   to `photoblog.multisiteparent.com.mainsite.com`, but anyway..)
 * What you basically need to do is:
 * 1) Add an A record for the `blog mainsite com` subdomain in the `mainsite com`
   zone in the GoDaddy nameservers pointing to the IP of the web server that hosts
   your multisite (at Hostgator).
 * 2) Add an A record for the `photoblog multisiteparent com` in the `multisiteparent
   com` zone in the Hostgator nameservers pointing to the same IP as `blog mainsite
   com` above.
 * 3) Make sure the web server at Hostgator is configured to serve both `blog mainsite
   com` and `photoblog multisiteparent com`.
 * 4) Make sure the domain mapping at the multisite is `blog mainsite com` —> `photoblog
   multisiteparent com`. (You have probably already done this one).
 * I think that’s all. Hope I got it right.
 * George
 *  Thread Starter [dannysheppard](https://wordpress.org/support/users/dannysheppard/)
 * (@dannysheppard)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/mapping-subdomain-using-different-nameserver/#post-7073022)
 * Thanks George!
 * I really appreciate the reply. As you can probably guess, I’m pretty new to configuring
   these things (when I set things up with my Smugmug accound they had very specific
   instructions and I didn’t have to figure anything out on my own :-)).
 * The strange part was with the IP addresses. I had two different ones 1) The one
   from Hostgator CPanel 2) The one listed in the domain mapping plugin. When I 
   configure the A record on GoDaddy, I had to use the IP given by the plugin. When
   I added the A record in Hostgator, I used the CPanel IP.
 * Anyway, I got it working now thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Mapping subdomain using different nameserver’ is closed to new replies.

## Tags

 * [domain mapping](https://wordpress.org/support/topic-tag/domain-mapping/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [subdomain](https://wordpress.org/support/topic-tag/subdomain/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 2 participants
 * Last reply from: [dannysheppard](https://wordpress.org/support/users/dannysheppard/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/mapping-subdomain-using-different-nameserver/#post-7073022)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
