Support » How-To and Troubleshooting » WordPress Admin Subdomain

WordPress Admin Subdomain

  • Hello Everyone,

    I was wondering if there is any problem in creating a subdomain such
    as wordpress.domain-name.com to host only your admin interface. In
    other words, the document root would become
    ‘site-root/wordpress-install-root/wp-admin/’. I’m not sure if the
    document root needs to contain all of the other parts of the system,
    or if it can just as well operate as it’s own site.

    Thanks in advance!

    Timmy V.

Viewing 3 replies - 1 through 3 (of 3 total)
  • FYI, I did some experimenting with this and could not get it to work. So far, I can only have the blog root be different than the wordpress install location, but any subdomain has to contain the whole application.

    Any options here? Thanks in advance!

    Timmy V.

    i’ve been wondering about this too.

    wordpress doesnt lend itself to multi-application sites very well.

    you could do some crazy htaccess redirects, i guess.

    I had this almost working 5 minutes ago like this:

    http://domain.com/ <<< main site (with blog)
    http://admin.domain.com/ <<< wordpress site

    The only downside: you’ll no longer be logged in on main site when you log into WordPress.

    Overview of what I did:

    1. Moved WP core files to a different directory
    2. Moved index.php to main directory (1 and 2 more or less as per here
    3. Created subdomain in Apache
    4. Restarted Apache
    5. Went to main site

    And that was it, basically! I was a little ‘cheaty’ since my admin subdomain was pointing to the main site + /admin, but that should be OK as long as you change that directory (I imagine it would work with any, even above ‘main’ path) in index.php.

    I haven’t been investigating it any further yet (and I’m thinking if I will really use it). In fact, I arrived here looking for some info.

    Apart from not seeying the ‘edit’ and other admin options in main site, everything was OK.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress Admin Subdomain’ is closed to new replies.