Pro Sites - pageok issue and after subdomain configuration now receive a forbidden error.

On a new wordpress installation using v3.8 I configured as MultiSite with Sub-Domain. DNS wildcard *.domain.com was setup correctly on Godaddy DNS. Then I install successfully Pro Sites plug-in. I manually add a new site named: http://subdomain.domain.com

After install new subdomain the page is open with just; pageok

Reading online I found several people talking regarding an GoDaddy DNS and subdomain issue and I go and manually add the subdomian at the Hosted Domain area:

All Domains
+domain.com
+pro-sites
+subdomain name

After creating the subdomain directory, now I receive a Forbidden error:

Forbidden
You don't have permission to access / on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at http://subdomain.domain.com Port 80

What can be this issue???

A part of the issue above I have a concern about all this...

Let's suppose it's related to a Godaddy (DNS zone configurations, maybe permissions on directories or even subdomain directories needed), what will be happen when new Sites request are taking place by visitors?
Do I need to manually create before hand an alias/subdomain?
How wordpress.com and edublogs.org handle this? I need to be automatically resolved after sites it's created by the visitor. Not by an admin.
How about the verification process regarding if it's available de subdomain or not?

I'm confuse

Anyone pls help.

  • Alexander

    Hi @agotay,

    So do you have an actual folder named for the subdomain in your hosting account?

    If you have an empty folder, this would cause the subdomain to resolve there, and it would never reach WordPress.

    If you have a Wildcard subdomain setup, it should work just fine, and all subdomains should resolve to the index.php of your WordPress installation.

    Then WordPress can detect what subdomain is being used, and load the appropriate site accordingly.

    Best regards,

  • agotay

    I configure my subdomain subfolder at root and same error.
    I configure my subdomain subfolder inside my wordpress installation and same error.
    DNS wildcard is setup and pointing to the correct IP Address.
    I notice subdomain folder it's empty at both locations, this is okay?
    Do I need or not domain mapping for this to work? maybe this is the main issue I have, I maybe miss understand that it will be needed for Pro Sites...

    Error:
    Forbidden
    You don't have permission to access / on this server.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
    Apache Server at subdomain.domain.com Port 80

    I need a configuration in a way that when visitors are going to add thier new site (subdomain) can be check for availability on my network and also configured automatically, just like wordpress.com and edublogs.org actually does it. What I need to do or complete to provide that?

    If this needs an manual intervention like creating subdirectories in my hosting, then I need to change the email is sending sites is ready, because it doesn't. But let stick to the main issue for know because it got me crazy!

    Thanks,

  • Alexander

    Hey @agotay,

    This likely wouldn't be a problem with any plugins installed, but that your server isn't configured properly for Multisite.

    Could you let me know what domain you're using here? I could test to see if the wildcard DNS record is setup properly.

    Going back to what I was saying before:

    If you have an empty folder, this would cause the subdomain to resolve there, and it would never reach WordPress.

    You should not have a folder for any of the subdomains. Having a folder means the server will direct users to that folder instead of WordPress.

    Best regards,

  • agotay

    I agree with your last statement. My hosting provider seem not allowing wildcards on subdomains. I need to confirms this with them, still waiting they response.

    In order to test it, I configure the SITENAME instead of the wildcard on the "Hosted Domains". But it fail with the forbidden error mentioned before. Now, I back to the pageok issue because I delete the subdomain (SITENAME). The DNS wildcard was deleted also.

    If my hosting agrees wildcard isn't allow, what did you recommend a part of moving from hosting provider.
    It's possible to first receive like a request for new Sites? And then made the subdomain (SITENAME) configurations?
    That can be a workaround at this moment.

    Where I can send you the information to review the configurations?

    Thanks for your help.

  • agotay

    Got it!!

    In order to work correctly, it's needed to add 2 manual configurations on Hosting area per each new subdomain (new SITE). 

    1. One DNS zone, create an A Host record including the new subdomain name pointing to my hosting IP. This maybe remplace with a wildcard entry.

    2. at Hosted Domains create the subdomain name pointing to the root directory of wordpress. I was crearing a new folder directory instead.

    The Wordpress network setup and adding new sites to the network are both working correctly. I already create 2 new test sites and are working fine.

    I'm looking to know if I need to pay something to hosting peovider to have this auto configuration made.

    If not, I wil need to provide something different untill configuration on hosting been made for each new site.

    Any suggestions for this...

    Thanks

  • agotay

    Provider says wildcard subdomain on Hosting Domains area can't be configured on share hosting but they didn't provide alternatives either.

    Questions:
    1. What options can be used to notify sites owners after submitting their site will be available after setup, it may make 12 to 24 hours to be ready?

    As soon I make profit I will look on to a hosting provider that allow wikdcard subdomain.

    2. Does this delay on configuration have an effect on the ability of pro sites to identify current registered sites for availability?

    Thanks again,

  • Alexander

    Hi @agotay,

    Sorry to hear about the wildcard subdomains not being available.

    I'm not sure what you mean about notifying the user. You could use some custom code to add a message to your signup page perhaps. You could also try our new blog templates plugin: https://premium.wpmudev.org/project/new-blog-template/ This helps provision new sites from a template to reduce the amount of configuration required.

    Once a user registers a site, that address can't be taken by someone else - even if the site isn't complete yet.

    Best regards,