• Resolved Yeshan Perera

    (@yeshansachithak)


    Dear All,

    I have a website with Multisite(Network) enabled. In that website, I have created forum.mydomain.com and downloads.mydomain.com using Multisite. And these domain are not listed in my cpanel.

    Now I need to host a new WordPress in a separate directory.

    • I have created sub-domain in cpanel (think.mydomain.com)
    • Extract new WordPress inside my directory (public_html/think/)
    • Also configured wp-config.php file with new db

    When I’m accessing the link (think.mydomain.com) from the browser. I’m getting 403 error. I just want to setup a new website. but it should not be include on my (network)multisite.

    Another thing is… before I enable my Multisite. I have created sub-domain from cpanel (letstry.mydomain.com) with a separate db. After I enable Multisite, still I can access to my letstry.mydomain.com and it is not included in my (Network)Multisite.

    But now I cannot setup new individual websites because I’ve enabled Multisite.

    Can anyone help me on this? Where I’m missed? Please looking forward your support.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • ancawonka

    (@ancawonka)

    Did you set up your multisite with Wildcard subdomains domains? https://codex.wordpress.org/Configuring_Wildcard_Subdomains

    For the think.mydomain.com site – have you confirmed that Apache is serving up files from the “think” directory (e.g. by accessing a non-WP file like readme.txt)? Did you manually extract the WordPress files? If you are getting a 403 error for the “think.mydomain.com”, it means that you might have some permissions issues on the WordPress files you extracted. (I get this, or a 500 error, when I mess w/ file permissions in WordPress on one of my hosting environments)

    Thread Starter Yeshan Perera

    (@yeshansachithak)

    @ancawonka thanks for your reply. Yes I’ve enabled wildcard on my server. After your advice I’ve created readme.txt file with some dummy text and permission set to 644 when I’m creating the file inside my sub-directory. using think.mydomain.com/readme.txt I can view the file without any error.

    The same way I used to access WP license.txt it has the same permission 644. But I cannot view the file.

    As you mentioned this can be a permission issue. When I’m extracting the WP zip.

    What is the solution for this?

    ancawonka

    (@ancawonka)

    Hmm. Have you talked with your hosting provider about this?

    So, you have your WordPress license.txt in the same folder as the file that you are able to view, but you can’t view the file – do you get a 503 error, or something else?

    You can also change the permissions recursively – but you have to make sure that the directories are 755 so the web server can open them.

    Also, check to make sure that the WordPress files are owned by the same user as the readme.txt file that you created. Maybe you unzipped them and they are owned by the wrong user (the user vs. apache/nobody)

    Thread Starter Yeshan Perera

    (@yeshansachithak)

    Many thanks for your support @ancawonka.
    I didn’t discuss with hosting provider. I have fixed the issue with trying different options. May be this is not the correct way. But now I can see everything is working fine.

    I will post what I have done so far. May be it will helped someone.

    • as @ancawonka advice I tried to change permission in all wp folders.
    • since my letstry.mydomain.com working fine. I made a copy of that in different directory. And it worked smoothly
    • Then config to new database to make a installation. Doesn’t work. same issue 403
    • Finally, I have created think.mydomain.com in my local pc then migrate to my server using wp-migrate-db plugin

    The good thing is it worked fine. Still the mystery is not solved.
    Because, I’ve zip my local website and did upload to the server. From the server only I’ve extracted to the directory. The same way I did for the WP.zip earlier. But I couldn’t install the WordPress.

    Anyway… hope this will helped to someone. I will close the topic.

    Thanks again @ancawonka

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘setup new individual WordPress without using Multisite’ is closed to new replies.