linux server, whm, cpanel, and I have access to httpd.conf
Here is what I have done:
wpmu installed on domain1.com, using subdomains.
added server alias "domain2.com *.domain2.com" to domain1 virtual host in the httpd.conf
added domain2.com to wp_site table
duplicated the sitemeta from domain1 and updated the site_id to domain2.com wp_site id
update the site_id for a blog in wp_blog table (blog.domain1.com) to domain2.com. I also updated all the site names for that blog in the wp_x_options so they all say domain2.com, instead of blog.domain1.com
This works, I am able to access the admin section for both domain1.com and domain2.com
The problem I have is when I create a new blog with domain2.com. The blog gets created but it gives a server not found error when trying to access it...but I see the blog in the database, and in the admin section for domain2.com
I can make blogs on domain1.com with no errors.
does anyone know what I did wrong?