Hi,
I've got a Dathorn reseller account and am working with a friend of mine to migrate here under me from godaddy. He's got a couple URLs mapped to the same wordpress site and I'm trying to figure out the best way to do this. Right now, he's got:
A.com -> primary site
B.com -> redirects to A.com per .htaccess file
B.com/suffixes1-N -> redirect to other pages for the user (twitter/linkedin/etc) per .htaccess file
I've created a new test account for B.com and migrated the wordpress site and database over. However, b/c the WP site is configured to A.com, I temporarily changed two database entries (wp_options.siteurl and .home) to use the B.com root. We've since changed the nameservers for B.com to point to Dathorn and things are mostly working. However, A.com still appears in quite a few places within the wp_options table of the database, and I think that's why some of the test site (images, mostly) are still pulling from A.com. We've speculated that these database entries may be for WP plugins, but it's frustrating that the top level domain is stored so many places. I elected not to do a global replace, although there appear to be plugins to aid WP domain name changes.
Thus, I figured that by pointing A.com nameservers to dathorn, then changing the two modified database entries to A.com again, things would "just work". We did that and things were bad. First, dathorn didn't know about A.com since I'd forgotten to put it into this same account somehow. I added A.com as a parked domain to the B.com account, using the same top level domain root as A.com, hoping it would serve the same identical site. This didn't work right either so we switched the nameservers back to godaddy (current host) until we figure this out.
So I'm looking for some advice. The site and database are migrated, but the domain parking/addon thing has me puzzled. It may also be a problem that the account is currently tied to B.com which is not the intended primary URL. I could not find a way to change an account's domain once set in WHM initially.
Thanks in advance,
Brett
I've got a Dathorn reseller account and am working with a friend of mine to migrate here under me from godaddy. He's got a couple URLs mapped to the same wordpress site and I'm trying to figure out the best way to do this. Right now, he's got:
A.com -> primary site
B.com -> redirects to A.com per .htaccess file
B.com/suffixes1-N -> redirect to other pages for the user (twitter/linkedin/etc) per .htaccess file
I've created a new test account for B.com and migrated the wordpress site and database over. However, b/c the WP site is configured to A.com, I temporarily changed two database entries (wp_options.siteurl and .home) to use the B.com root. We've since changed the nameservers for B.com to point to Dathorn and things are mostly working. However, A.com still appears in quite a few places within the wp_options table of the database, and I think that's why some of the test site (images, mostly) are still pulling from A.com. We've speculated that these database entries may be for WP plugins, but it's frustrating that the top level domain is stored so many places. I elected not to do a global replace, although there appear to be plugins to aid WP domain name changes.
Thus, I figured that by pointing A.com nameservers to dathorn, then changing the two modified database entries to A.com again, things would "just work". We did that and things were bad. First, dathorn didn't know about A.com since I'd forgotten to put it into this same account somehow. I added A.com as a parked domain to the B.com account, using the same top level domain root as A.com, hoping it would serve the same identical site. This didn't work right either so we switched the nameservers back to godaddy (current host) until we figure this out.
So I'm looking for some advice. The site and database are migrated, but the domain parking/addon thing has me puzzled. It may also be a problem that the account is currently tied to B.com which is not the intended primary URL. I could not find a way to change an account's domain once set in WHM initially.
Thanks in advance,
Brett
Comment