Forums

Multi-Site: dashboard works but sites don't? Domain wildcard problem? (6 posts)

  1. Xeronimo
    Member
    Posted 1 year ago #

    Hi,

    I've installed WordPress 3.0.1 on my Ubuntu server and enabled the multi-site functionality. So far, so good.

    I'm accessing and managing the main site via http://wplinux.test.local/wp-admin. There everything works fine, I can add plugins, posts, pages, etc.

    But when I want to actually view a post or a page (like http://wplinux.test.local/about/) I get errors since they can't be found!?

    Also when accessing http://wplinux.test.local I get the standard Apache welcome page instead of the main WP site: "It works! This is the default web page for this server. The web server software is running but no content has been added, yet."

    The same for subsites. I can access and manage them (example: http://test1.wplinux.test.local/wp-admin/) but get errors when I want to actually view a page like this one: http://test1.wplinux.test.local/2010/11/18/hello-world/

    I get an 'this link seems to be broken' error ...

    Here's what I did DNS wise:

    I've created a new zone on my DNS server > test.local
    I've added a new host: *.test.local mapped to 192.168.1.57 (my Ubuntu server) - as this page seems to suggest: http://codex.wordpress.org/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisite (step 3)
    I've added 'ServerAlias *.test.local' to the 'default' (actually '000-default' for some reason) file in /etc/apache2/

    So ... where did I go wrong??

    Thank you very much :)

    Jerome

  2. Xeronimo
    Member
    Posted 1 year ago #

    Also:

    Why do the additional sites get *.wplinux.test.local addresses? Shouldn't they get *.test.local addresses?

  3. Andrea_r
    team pirate
    Posted 1 year ago #

    The pages work on the basis of mod_rewrite. Enable that.

    The subdomain are built off the main site, so if you installed in http://wplinux.test.local/, then yes your blogs will be whatever.wplinux.test.local.

  4. Xeronimo
    Member
    Posted 1 year ago #

    Hi,

    Thanks so far but I've now reinstalled the whole thing using sub-directories instead of sub-domains. I thought that was easier ......

    Yet it isn't really. When I try to access a sub-directory I've created on the main site (example: http://linuxwp.test.local/galileo/) I get an error telling me that this page/site does not exist ... Accessing the backend of that directory doesn't work either therefore :(

    I once got this running on a Windows server with IIS but I'd like to have it on Ubuntu now.

    Any other suggestions??

    Thanks!

  5. Andrea_r
    team pirate
    Posted 1 year ago #

    The subfolder blogs, and the backend links of even subdomain blogs, and all your pretty permalinks, work on the basis of mod_rewrite.

    I'm on a Debiam box here at home, Ubuntu on the netbook.

    Enable mod_rewrite. it's *required*. make sure it;s actually reading the htaccess file you had to make.

    AllowOverride FileInfo Options

    Read the forum sticky.

    Check the directions. http://codex.wordpress.org/Create_A_Network

    If you got it running on a Windows server with IIS, you did the really hard part first. ;)

  6. Xeronimo
    Member
    Posted 1 year ago #

    Hi Andrea,

    Ok, works now!!

Topic Closed

This topic has been closed to new replies.

About this Topic