Issue setting up Multi Domain

Hi guys,

I have trouble setting up the Multi-domain Plugin.

I'm running on a dedicated server (gentoo/webmin)

I got the following on my dns records (second domain) :

IN MX 10 mail.2nd-domain.tld.
IN A *.main-domain.tld.
www IN A xx.xxx.xxx.xxx
mail IN A xx.xxx.xxx.xxx
smtp IN A xx.xxx.xxx.xxx
...

I also tried different combination adding different A addresses like :
*.domain.tld. IN A *.main-domain.tld.
*.domain.tld. IN A main-domain.tld.
...

I've done properly the installation (plugin install, sunrise on wp-content folder, wp-config and setup the domains on the backend)

I pointed successfuly the IP address to the main domain

do I have to add anyhing on the apache server (for added domains) ?

When I create a site I get a "404 Not Found" page at
2nd-domain.tld/wp-admin/network/

I use the Multi Site with sub domain
I don't have much plugins installed : buddypress, New blog templates, CodeStyling localization, Warp buddypress.

Thanks in advance for any suggestion

p.s: let me know if you need any access code in order to help.

p.s2: main domain is creersitegratuit-com, second domain is weeesite-com (hope to be able to remove them later from this post)

  • DavidM
    • DEV MAN’s Mascot

    Hi madmax and welcome to WPMU DEV!

    Taking a look at the site I can see you've got the following blog created and apparently working:
    sportingclubgraulhetois-weeesite-com

    Thus it seems at least from a gland that the Multi-Domains plugin is doing its job.

    Though it looks like you're talking about accessing weeesite-com directly, is that the case? If so, you may be interested in the Domain Mapping plugin instead.
    https://premium.wpmudev.org/project/domain-mapping

    Could you let me know if that's the case or if perhaps I've misunderstood something here?

    Thanks,
    David

  • madmax
    • WPMU DEV Initiate

    Hi David,

    Many thanks for your quickly reply.

    My problem was that when I created a site from the backend I was redirected to :
    second-domain-com/wp-admin/network
    I haven't noticed that "network" was on the url and that was causing the 404 error page.

    I will now also install the domain mapping plugin.

    Thanks David.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.