• I have installed WP multi onto a cpanel addon domain. When i enter the url example.example.com in my browser it takes me to the parent domain, ie. https://www.example.com

    Also when i create a site in the wp network dashboard and click on the new site dashboard link i get the 404 cant find it page….

    Do i have to use the parent domain ie. https://www.example.com as the location for the ‘primary’ wp install?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No you do not have to use the top level domain for your site.

    If going to example.example.com takes you to example.com, then you messed up your subdomain creation, and that’s outside of WordPress.

    Thread Starter antonyw

    (@antonyw)

    Do I have to create each sub domain manually in Cpanel as well as creating the site in WordPress? I assumed wp did it for you?

    Thread Starter antonyw

    (@antonyw)

    And then do I need to manually install wp in that sub domain?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If your main install is in sub.domain.com, and you plan on your sites being sub.domain.com/site1, then you should, before installing WP, create that subdomain, point it to itself, and verify that it works. Then install WP.

    If your main install is in domain.com and you want to use MultiSite in subdomains, so your sites are site1.domain.com, then you create a wildcard subdomain for your domain and point that to domain.com. Then install WordPress.

    So it depends which one you’re doing.

    Thread Starter antonyw

    (@antonyw)

    So, I install WP as normal on the wildcard domain?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You’re not installing WORDPRESS in the wildcard… these are different things.

    1) Install WORDPRESS where you want the base of WP to be.

    If you want WP to live in domain.com, install it there. If you want it to be in sub.domain.com, install it there.

    2) If you’re using WILDCARDS, you either have to manually make the subdomains abd point them back to public_html or you have to make a wildcard subdomain in cpanel (value *) and point it to the location /

    Yes, * and /

    If you did that right, then blahblahfishcakes.yourdomain.com will send you back to yourdomain.com

    Thread Starter antonyw

    (@antonyw)

    OK, I think i get it so far but to simplify mater i have upgraded my hosting package and now domain.com is in the new root directory and not an addon. however same problem. When i click on the new site dashboard link in the main site dashboard i get:

    The requested URL /wp-admin/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    when i try to go to the new subdomain i get:

    Index of /

    cgi-bin/

    Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 DAV/2 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_perl/2.0.4 Perl/v5.8.8 Server at https://www.crescent.slave2media.com Port 80

    I dont know where to go next with this i have tried all the documents?

    Thread Starter antonyw

    (@antonyw)

    OK i’ve given myself a double headache, I have moved the non functioning multisite install from an addon domain to a shiny new domain all of its own…..i have moved the database….all my plugins have moved but the installed plugins menu is empty…..any ideas?

    Thread Starter antonyw

    (@antonyw)

    ok sorry the installed plugins list has fixed itself….i have disabled all plugins and am running through the network setup notes again to try and find something i may have missed

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you create your .htaccess file?

    Also this:

    when i try to go to the new subdomain i get:

    Index of /

    cgi-bin/

    Means you made the subdomain WRONG. You did not point it correctly to the public_html folder (i.e. /) when you made it in cPanel, you made a subdomain in its own subfolder. You don’t do that.

    https://www.thecarneyeffect.co.uk/sites/all/files/wildcard-subdomain.png

    It’ll either point to / or public_html/ depending on your setup, but THAT is how it’s supposed to look.

    Thread Starter antonyw

    (@antonyw)

    OK now im getting somewhere…..thank you thank you thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘addon and sub domains’ is closed to new replies.