Join the community today
Become a Member

Install Installed Centminmod beta trying to install wordpress but getting too much of error

Discussion in 'Install & Upgrades or Pre-Install Questions' started by drabhaydaga, Dec 15, 2018.

  1. drabhaydaga

    drabhaydaga New Member

    28
    3
    3
    Nov 24, 2018
    Ratings:
    +3
    Local Time:
    3:07 PM
    hello imported and domain

    but the new domain which was my production website i just imported

    imported database and uploaed the file

    now after doing all this even after logging into wp admin or adding new order

    its showing

    504 Gateway Time-out
    nginx


    after 2 - 3 refresh it works what must be the issue ??

    how can i solve this issue ??
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,907
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:37 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  3. drabhaydaga

    drabhaydaga New Member

    28
    3
    3
    Nov 24, 2018
    Ratings:
    +3
    Local Time:
    3:07 PM
    i more last question sorry i am asking too many question

    i have imported database and everything

    but the domain is getting redirected to last created domain

    atleast last time i got access to wp-admin so i was able to clear all cache and it got redirected to proper one

    but the production websie it complete getting redirected i am not able to understand now what can be done

    if i want to reinstall everything what will be the procedure i mean reinstall the domain or flush all the cache from ssh

    as i already tried flushing redis cache but still the redirection i checked the ningx config file but its seams to b perfect
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,907
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:37 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    When you create a new nginx vhost domain via centmin.sh menu option 2 or menu option 22 or via /usr/bin/nv cli command line, you will create the Nginx vhost files and directories. You will get an outputted the path location where it will create the domain name's vhost conf file named newdomain.com.conf (and newdomain.com.ssl.conf if you selected yes to self signed SSL)
    • Nginx vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.conf
    • Nginx HTTP/2 SSL vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.ssl.conf
    • Nginx Self-Signed SSL Certificate Directory at /usr/local/nginx/conf/ssl/newdomain.com
    • Vhost public web root will be at /home/nginx/domains/newdomain.com/public
    • Vhost log directory will be at /home/nginx/domains/newdomain.com/log
    Please post the contents of both your domains' /usr/local/nginx/conf/conf.d/newdomain.com.conf and if applicable /usr/local/nginx/conf/conf.d/newdomain.com.ssl.conf wrapped in CODE tags (outlined at How to use forum BBCODE code tags)

    what is output of these commands in ssh
    Code (Text):
    curl -I https://domain.com
    

    Code (Text):
    curl -I https://www.domain.com
    

    Code (Text):
    curl -I http://domain.com
    

    Code (Text):
    curl -I http://www.domain.com
    

    wrap output in CODE tags

    You can replace your real domain name with domain1.com and domain2.com to mask it if you want
     
  5. drabhaydaga

    drabhaydaga New Member

    28
    3
    3
    Nov 24, 2018
    Ratings:
    +3
    Local Time:
    3:07 PM
    Solved finally

    i deleted the site and reinstall again and reimported everything it started working

    Sorry i asked so many questions

    now my site is loading in jst 1.1 secs sccording to gtmetrix previously it was 3.4 secs

    its amazing :)

    amazingly gr8 work by u guys keep it up