Want to subscribe to topics you're interested in?
Become a Member

Xenforo IIS, NGINX, and Xenforo

Discussion in 'Forum software usage' started by Pope Viper, Jul 30, 2020.

  1. Pope Viper

    Pope Viper New Member

    Jul 30, 2020
    Local Time:
    5:54 AM
    I've run XF successfully for years, then life changes, etc, etc, got me away from it.

    I brought my 1.x forum back up, and decided to start fiddling around with it. Only difference was that I had brought NGINX into my world to provide subdomain url support.

    Well, I decided to spin up a 2.1 forum so I could see what changes were had, and what I needed to start working on. I was able to install, but what's killing me is that whenever I try to go to the admin area, it defaults to the local server IP rather than the board URL.

    I've tried everything I can think of, installing multiple times, to multiple directories, modifying the NGINX config, and I'm stumped, I'm willing to pay to get some assistance to figure out what the heck is going on with this.

    I would appreciate any guidance, and please let me know in a PM if you're interested in helping me one on one. I admit to being new at NGINX, and if need be, and if it will make my life easier, I'll stand up a stand alone Linux box to get this working again.
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    9:54 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Are you running Centmin Mod LEMP stack ? This forum is for Centmin Mod LEMP stack users running Centmin Mod's own custom Nginx, PHP-FPM, MariaDB MySQL setup ? Centmin Mod Nginx has it's own Nginx rewrite rules for Xenforo 2.1 outlined at Xenforo - Updated Xenforo 2 Nginx Friendly Url Rules Configuration but these may differ from non-Centmin Mod Nginx servers. For non-Centmin Mod Nginx, you can see the official nginx setup in XF 2.1 docs at Options - XenForo 2 Manual
  3. Dnyan

    Dnyan Member

    Sep 16, 2017
    Local Time:
    5:24 PM
    Use Centminmod, its easy, simple, and you will always get a supports or a lot of thread already stating issues and solutions at here only.

    Just take backup of DB and directory, install cent OS 7, install centmin, restore backup and start configuring your setup.

    meanwhile you can also check .htaccess file for route issue (it may or may not cause trouble).
    You need to check your nginx host file configuration for your website where you can check for any misconfiguration.