• Hello,
    I have a problem accessing from internet to WordPress Multisite hosted on my QNAP NAS.
    Explanation of the experimentation.
    I just installed a new fresh WordPress site on my QNAP NAS (almost empty site) and upgrades done.
    I test if the site is accessible locally IP 192.168.XX,XXX It works fine
    I test if the site is accessible from internet fixed IP 82.64.xx.xx it works fine

    I install a MULTISITE WordPress on the previous fresh and new installation
    I test locally IP 192.168.xx.xx, it works fine
    I test if the site is accessible on my computer from internet fixed IP 82.64.xx.xx ; The site is accessible due to a loop back. The URL is 192.168.XX.XX
    I test if the site is accessible on my smartphone (4G network) from internet fixed IP 82.64.xx.xx ; then a have an error.The site is not accessible.
    I have tried to see what happens:
    /* Multisite */
    /*define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’,’192.168.0.36′);
    define(‘PATH_CURRENT_SITE’, ‘/WordPress/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1); */

    If I place comments /* like above, then I come back to a monosite accessible over internet
    If I removed the comments, then I come back to a Multisite not accessible over internet
    If I comments only the line define(‘DOMAIN_CURRENT_SITE’,’192.168.0.36′); there is no access to the database.
    The problem seems this absolute URL in Domain Current site
    I think the htaccess is redirecting to the local URL 192.168.xx.xx (explaination of the loopback)
    RewriteEngine On
    RewriteBase /WordPress/
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    It means that WordPress Multisite could not works on a selhosted QNA NAS. Since the site is in the minimal configuration (theme by default, etc…), completely new, without any personalization, almost empty.
    If somebody can help me for this general issue on QNAP NAS, I would be very happy. I could not find something on internet.
    Thanks a lot
    Antony

Viewing 2 replies - 1 through 2 (of 2 total)
  • try creating the network with your ip for internet.
    secondary sites will take the same path as the network.
    Network – https://82.64.xx.xx/WordPress/wp-admin/network/
    Secondary site – https://82.64.xx.xx/WordPress/ns1/ (adding ns1 to the creation of secondary sites).
    Restrictions

    Thread Starter antony91700

    (@antony91700)

    Thank you very much for your help. It works fine now !
    Your recommandation : “try creating the network with your ip for internet” is very precious.
    We can login to a QNAP NAS either with the local IP 192.168… … or with the internet IP 82.64 … ….
    The solution is to login with the internet then to install phpmyadmin and then to intall WordPress and build the network for Multisite.

    My mistake was to make the installation with the local IP.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Multisite not accessible over internet’ is closed to new replies.