Title: database error w/ domain mapping
Last modified: August 19, 2016

---

# database error w/ domain mapping

 *  [justinwhall](https://wordpress.org/support/users/jwind/)
 * (@jwind)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/)
 * There has likely been covered but I can’t find it. I’m sorry.
 * -I have multi site enabled and installed and all is good there. (site.com)
 * -I added a second site included my server IP in the domain mapping menu
    (newsite.
   site.com)
 * -I added the new domain in the domain menu with the proper ID
 * I have a simple “hello world” html page on (newsite.site.com) which loads on 
   both newsite.com & newsite.site.com.
 * FWIW, my domains were purchased at godaddy and my hosting is at Hostgator. Newsite,
   is of course, an add-on…
 * My problem? I can’t log into the backend. It’s giving me a database error. I 
   don’t need to set up another database on the new site do I?

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/#post-1912009)
 * > I have a simple “hello world” html page on (newsite.site.com) which loads on
   > both newsite.com & newsite.site.com.
 * Why?
 * no really – it;s not… needed? So i dunno why you have this in there.
 * > -I added a second site included my server IP in the domain mapping menu
   >  (newsite.
   > site.com)
 * Did you add the second site via the Super Admin -> Add site menu?
 * you have to ensure the sites *work* before you do anything like domain mapping.
 * > Newsite, is of course, an add-on…
 * And did you tell it to use the folder where multisite is enabled and *not* the
   default folder it gives you?
 *  Thread Starter [justinwhall](https://wordpress.org/support/users/jwind/)
 * (@jwind)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/#post-1912038)
 * -The hellow world html file was just therefrom a previous project. I wasn’t created
   for any reason related to this multisite install.
 * -Yes, I did add the site via SA>add site
 * > And did you tell it to use the folder where multisite is enabled and *not* 
   > the default folder it gives you?
 * I suppose this is where I am confused:
 * under site info:
    domain = newsite.com Path:/ (this is where the install and 
   [http://www.site.com](http://www.site.com) lives)
 * Under site options:
    Site URL:[http://newsite.com/](http://newsite.com/) Home:
   [http://newsite.com/](http://newsite.com/)
 *  Thread Starter [justinwhall](https://wordpress.org/support/users/jwind/)
 * (@jwind)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/#post-1912066)
 * I got it. Seems as though Hostgator created a sub-domain for newsite when I moved
   it over from Godaddy. It happened to be the same one WP was trying to write.
 * That’s what was confusing me. I couldn’t figure out why in the would the site
   would work, but the database give me an error…
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/#post-1912067)
 * no, when you added the domain at hostgator.
 * recap:
    [http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/](http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/)
 *  Thread Starter [justinwhall](https://wordpress.org/support/users/jwind/)
 * (@jwind)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/#post-1912075)
 * Me? This is my first time with Hostgator but i’m sure i didn’t manually create
   a subdomain. I simply changed the DNS at godaddy. Wasn’t until I checked did 
   I checked via HG’s cpanel did I notice the conflict.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/#post-1912110)
 * > and my hosting is at Hostgator. Newsite, is of course, an add-on…
 * Right there you said you made newsite (the domain you want to map) an add-on 
   domain at hostgator.
 * Is this correct? Becasue that’s what I said you needed to change.

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

The topic ‘database error w/ domain mapping’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 6 replies
 * 2 participants
 * Last reply from: [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/database-error-w-mapping/#post-1912110)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
