Forums

[resolved] One subdomain getting a 403, the rest working (6 posts)

  1. mkaply
    Member
    Posted 1 year ago #

    I'm running into a really strange problem using the new multisite.

    I have kaply.com and I'm setting up blogs for my family and business at:

    http://consulting.kaply.com
    http://zachary.kaply.com
    http://michaela.kaply.com
    http://mike.kaply.com

    Because of some previous stuff I did, zachary,michaela and consulting were already defined at Godaddy as A records. When I set them up, they worked immediately.

    I added mike as an A record last night, and then setup the site in wordpress this morning.

    When I connect, I get:

    You don't have permission to access / on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    Why would some subdomains work and not others?

    (I just removed WordPress from the equation, and it is still failing - is it a godaddy config issue)

  2. Where is mike pointing to? It needs to point to your public_html folder for WordPress to work.

    But if it fails without WP, then yeah, ask GoDaddy.

  3. mkaply
    Member
    Posted 1 year ago #

    OK, so for anyone who every runs across this again (I searched for hours and couldn't find it), with GoDaddy, there are a few steps to setting up your subdomain.

    Adding the A record is just the first step.

    After adding the A record, go into your Hosting Dashboard and click "Domains"
    You add the A record and then you go into your Hosting Dashboard and click Domains.

    Then click "Manage" under subdomains. This is where you actually point a subdomain to a specific directory on your server.

    For wordpress, you can just point them to /

    My bet is that I could probably have done a wildcard A entry and then just setup the subdomains here. I'll test that and report back.

    But at least this information is here for someone else who searches on it.

  4. mkaply
    Member
    Posted 1 year ago #

    Update for future reference when someone finds this.

    The proper way to setup multisite with Godaddy is to add a wildcard A entry and don't put any subdomains in the DNS manager.

    Then when you want to add a new subdomain to WordPress, in addition to adding it to wordpress itself, you need to go to the Hosting Dashboard, click "Domains" and them "Manage" under subdomains.

    Add the subdomain there.

  5. mkaply
    Member
    Posted 1 year ago #

    One more thing, the downside to this method is that if someone goes to an unsetup subdomain (foo.bar.com), they will get a 403 error.

    There does not seem to be a way in godaddy to redirect non existent subdomains to wordpress.

  6. If you don't have wildcard redirect then yeah, you can't redirect the non-existant.

Topic Closed

This topic has been closed to new replies.

About this Topic