WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't access subdomain sites (12 posts)

  1. Stupidism
    Member
    Posted 3 years ago #

    So this is basically a brand new install of WordPress, running multi-site with subdomains.

    The problem is that I can't access my other sites. It comes up with a "/cgi-sys/defaultwebpage.cgi" at the end of the url I am trying to access. I am guessing that this is a cPanel error page.

    I am not really sure what the problem is.

  2. The wildcard subdomains aren't set up.

    http://codex.wordpress.org/Create_A_Network
    http://wpebooks.com/2010/09/how-to-enable-multisite-in-wordpress/

    Is the install you're working on the default domain on that web account? Did you ask your host if they even support wildcard subdomains?

  3. Stupidism
    Member
    Posted 3 years ago #

    Yeah I asked the hosting and they don't support wildcard subdomains. So I'm just going with subfolders.

    Thanks

  4. lv123
    Member
    Posted 3 years ago #

    Yes new to this as well; thanks in advance.
    Is this the best practice for site development and client review?
    I'm trying to find the best way to do this. I will need a way to develop and then eventually move it to it's own production domain.

  5. Is this the best practice for site development and client review?

    Is what the best practice? You have subdomains or subfolders - pick one. If it's for client use only and everyone else is locked out, then what format you use is up to you.

    I will need a way to develop and then eventually move it to it's own production domain.

    Are you going to domain-map it and keep it in the same install? Because pulling the db tables from the network is more work than a single install.

  6. lv123
    Member
    Posted 3 years ago #

    I'm really learning a lot here so pardon my vague questions.
    Best practice was more along the lines of development/production strategies when using WordPress. So I thought using the multisite option in WordPress would be the most common practice for creating a website for a client to review via the web while it's still in the development stages and then rolling it out to the public once it's been approved.
    I believe what I can do is use subfolders, have clients review the WordPress subfolder site. Upon approval I can move this site to it's own hosted environment as the primary domain with it's own URL. For example:
    While it's in development: http://foo/subfolder1
    Then to production as: http://subfolder1.com

    Or can I host their site as: http://foo/subfolder1 with the option to alias the URL to the public as http://subfolder1.com

    If I am off track with my line of questions your are welcome to parse this from the above thread and I will study more of the documentation. I was just taking a quick try at this via a post.
    If that is the case do you have any recommended reading specific to my questions.

    Thanks Andrea, I truly appreciate it.

  7. You're not off track, just off topic for the original post, and this should've been a separate post ;)

    While it's in development: http://foo/subfolder1
    Then to production as: http://subfolder1.com

    I don't know if that's best practice, but it works well and it's what I'd do. Remember you'll need a plugin to redirect domain names.

  8. So I thought using the multisite option in WordPress would be the most common practice for creating a website for a client to review via the web while it's still in the development stages and then rolling it out to the public once it's been approved.

    Yep. Tons of people do. Why, I even wrote a handy article all about it:
    http://www.problogdesign.com/how-to/build-a-client-development-site-with-wordpressmu/

    While it says wpmu, about 90% or more is still relevant & pretty much the same.

    Upon approval I can move this site to it's own hosted environment as the primary domain

    And that's the sticky point. :) If it;s staying in that install, you could map the domain to the site, where it sits. Easy-peasy.

    Extracting it out, with all the settings, is a little more work. Do-able, but a wee bit more careful than you woudl in a single install. That's all.

  9. lv123
    Member
    Posted 3 years ago #

    Okay very good thank you!
    Most likely will have to go with a export/import database and files to it's own primary domain, as I described in the first option because I failed to mention phase II development.
    Which means a redirect wouldn't work. I will always need two environments:
    Production: http://acmewidgets.com which is the import of http://subfolder1.com
    Development: http://foo/subfolder1 which is my primary domain (foo) and all of my development versions of my client sites.

    I'm presuming that if I were to use a redirect like you described that I would be pointing to http://foo/subfolder1. Or I guess I could redirect to a production version created in another subfolder nested within my primary domain (foo):
    Production: http://foo/subfolder2.com but public alias as http://acmewidgets.com
    Development: http://foo/subfolder1

    This is what I was meaning regarding best practices and possibly path of least resistance.

    Thanks ipstenu this is helping.

  10. lv123
    Member
    Posted 3 years ago #

    Clarification:
    "Development: http://foo/subfolder1 which is my primary domain (foo) and all of my development versions of my client sites."
    Represents one client which in this example would be acmewidgets.
    foo is mine.

  11. lv123
    Member
    Posted 3 years ago #

    Andrea, AWESOME!

    Extracting it out, with all the settings, is a little more work. Do-able, but a wee bit more careful than you woudl in a single install. That's all.

    I'm up for the challenge :)
    My reason for doing that is to keep their entire production isolated and pristine, safety for crash and burns/restores. I would not have to affect my other clients. Am I on track?

  12. My reason for doing that is to keep their entire production isolated and pristine, safety for crash and burns/restores. I would not have to affect my other clients. Am I on track?

    Yeah, that'll work.

Topic Closed

This topic has been closed to new replies.

About this Topic