cancel
Showing results for 
Search instead for 
Did you mean: 
Go to solution

Multiple Wordpress Domains

Good day!

 

I am having some trouble with one of my Wordpress installations and hoping someone here can help.

My primary domain is newandbeyond.com.  I have a few other domains that redirect to sub directories from newandbeyond.com.  I am having troubles with one my recent installs.  The domain is 2bmba.us.  It is set to forward with masking (302).  I compared the settings for this domain to another domain I have, californiarentme.com.  The californiarentme.com works fine, but something is not working correctly for the 2bmba.us.

 

When I try to browse to 2bmba.us, it changes to newandbeyond.com/2bmba and Wordpress puts up a "not found error".  I can no longer access the admin page, as I get the same error.  I think the error may be caused to the Wordpress settings having 2bmba.us as the domain.  I have ssh access and the WP files are all there, under the 2bmba subdirectory.  I tried forcing the domain/path for WP as follows:

I added the following two lines to the bottom of wp-config.,php:

define('WP_HOME','http://newandbeyond.com/2bmba');
define('WP_SITEURL','http://newandbeyond.com/2bmba');

 

But that did not change anything.

 

Any help or advice is much appreciated!

 

M.

 

1 REPLY 1
Moderator
Moderator
Solution

Re: Multiple Wordpress Domains

Hi @memariani, thanks for posting.

What you've described is not a usual way to host multiple domain names. Generally when you setup multiple WordPress sites, your primary domain name is not used at all and you do not use Forwarding or Masking.

The additional domains you are are added as Addon Domains, and the DNS for the domains would be updated to point to the IP address of your hosting plan. The primary domain or main WordPress site shouldn't be used at all.

If you are using a Manged WordPress plan that supports multiple sites, see the details here:

https://www.godaddy.com/help/add-a-site-8993

If you are using a cPanel hosting plan that supports multiple sites, check out this article:

https://www.godaddy.com/help/add-addon-domains-to-host-multiple-websites-8877

 

Gary - GoDaddy | Community Moderator
24/7 Support | Check System Status