• RavingMonkey

    (@ravingmonkey)


    Hi All,

    I have followed the instructions word for word on setting up a Multisite, I configured it to use Sub Domains, and I set a conf file for wildcard redirect, I still keep getting “Page Cannot Be found” when I try to access my newly added site in my WordPress Admin side.

    I’m getting completely frustrated with this, I even tried removing the multi-site, reconfiguring to use Sub-Directories and I keep getting a Warning “A network already exists” even though I deleted everything.

    Please help I’m going gray here!

    Mike

Viewing 11 replies - 1 through 11 (of 11 total)
  • Roy

    (@gangleri)

    Is the main site in the root? If it’s already in a subdomain, you can’t use a subdomain network anymore.

    When going back from a website, replace your wp-config (of course with the corect database information). You edited wp-config when you created your network.

    Thread Starter RavingMonkey

    (@ravingmonkey)

    Is the main site in the root?

    Yes

    When going back from a website, replace your wp-config (of course with the corect database information). You edited wp-config when you created your network.

    Sorry dont follow what you are saying here.

    Would it be simpler for me to just delete the entire site and start again?

    Thread Starter RavingMonkey

    (@ravingmonkey)

    Not sure if it helps, but I created an Appache wildcard statement in my vhosts.con and it does not appear to be redirecting even after a server restart.

    I added: ServerAlias *.mysitename.co.uk but when I open the dashboard for the sub-domain “network.mysitename.co.uk” the web-address goes to “http://network.mysitename.co.uk/wp-admin” and I get the “Page cannot be found” message

    Thanks

    Thread Starter RavingMonkey

    (@ravingmonkey)

    .conf!

    Roy

    (@gangleri)

    Pf, I’ve been down that road recently when I tried to create a network in a subdomain and attempted to map that. No success 🙂
    In any case, when the main site is in the root you should do nothing on your server, but make the network with the link that I gave earlier. You make a subdomain setup and then install the plugin that I mentioned. For it to work you have to be able to “park” the domain and the rest should speak for itself. I never came that far myself due to my hoster.

    What I further meant to way is that I wanted to undue my network, I realised that so much had been changed in the wp-config file that I had to make a new one to be able to have a non-network installation again.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Roy, not every server has wildcard subdomains out of the box. Should, but alas.

    I even tried removing the multi-site, reconfiguring to use Sub-Directories and I keep getting a Warning “A network already exists” even though I deleted everything.

    You didn’t delete the database files if you get that error.

    Not sure if it helps, but I created an Appache wildcard statement in my vhosts.con and it does not appear to be redirecting even after a server restart.

    How did you add it?

    You should have been able to add it like
    ServerAlias www.domain.com domain.com *.domain.com

    Also your DNS has to be set up for it. It’s much easier if you have cPanel, which lets you create * as a subdomain and auto-points it to the right location.

    Thread Starter RavingMonkey

    (@ravingmonkey)

    Roy, sorry but which plugin do you refer to? If you say I do not need to set-up a redirect then I do not understand why I get the page cannot be found error.

    @ipstenu – yes I created the DNS records, I have complete control over my server with my provider and I have server root access. I am a little confused by your redirect statement

    Are you saying ServerAlias http://www.mysite.com mysite.com *.mysite.com?

    Thanks guys

    Mike

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I want to freakin’ kill this….

    bbPress is automagcially adding the http:// to that first URL.

    ServerAlias www[DOT]mysite.com mysite.com *.mysite.com

    Change [DOT] to .

    Thread Starter RavingMonkey

    (@ravingmonkey)

    Thanks, it still did not fix it, I think it may be a delete and reinstall situation… Three days work down the pan!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Get subdomains working before you bother reinstalling.

    Wildcard subdomains should be able to work outside of WP, so if you can’t get THAT working, it’ll never matter. If you’re okay with subFOLDERS, though, then a scrap and reinstall is fine. Remember to clean out the database.

    Thread Starter RavingMonkey

    (@ravingmonkey)

    I think to save heartache and migraine, I will kill, reinstall and go to folders..

    Thanks

    Mike

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Multisite Using Subdomains Not working!’ is closed to new replies.