Anyone who knows dedicated server management, want to ask a few question.

AFQ

Overclocked
Dec 24, 2008
7,661
0
41
31
Lahore
www.maximum-tech.net
Anyone here in my friend list who knows dedicated server management? I am working with LEMP stack (CentOS 7, Nginx, MariaDB, PHP-FPM) and Magento. I am running into some issues and would like to ask some questions.
 

babarhyd

*nix GURU
Sep 10, 2010
293
0
21
Hyderabad
What are your questions? I can try... Though i am in remote area right now and dont have access to PC or Laptop.

Sent from my SM-G900F using Tapatalk
 

AFQ

Overclocked
Dec 24, 2008
7,661
0
41
31
Lahore
www.maximum-tech.net
What are your questions? I can try... Though i am in remote area right now and dont have access to PC or Laptop.

Sent from my SM-G900F using Tapatalk
Hey. So this is the situation. I've gotten a dedicated server from OVH.com. I want to run two Magento stores on it. I planned to use CentOS 7, Nignx, PHP-FPM and MariaDB along with Memcache or Redis for both stores. To install the LEMP stack, I used the Centminmod script (centminmod.com). It a simple script which installs everything and makes it easier for your to update and everything.

After installing everything, I made two vhosts (server blocks in Nginx language) for each store. Then I copied the Magento files to the server for installation and according to instructions, I opened the domain in browser for the magento installation script but it gives a 404 error. From what I've gathered it has something to do with the Nginx vhost config file.

Do you have any experience of setting up Magento on Nginx?
 

imadsani

Active member
Jul 27, 2010
307
5
24
Lahore/DXB
disable the .htaccess (add characters before the dot), add an index.html and type in garbage, see if you see the garbage in the browser when you hit the domain.
If you see garbage it means you need to look at the base path inside the htaccess. Configure it to match your current environment and it should work.

Also, show us the contents of your sites conf here. (should be in /usr/local/nginx/conf/conf.d/)
 

Saad Ismail

Intermediate
Mar 8, 2014
159
0
21
I ain't that much familiar with magneto but you should post you .htaccess files here & also check error_log. One thing more, make sure that you've chowned your domains folder for nginx:nginx with "chown -R nginx:nginx /home/nginx/domains" (w/o quotes) & it'll chown that whole folder including sub directories & files in there.
 

imadsani

Active member
Jul 27, 2010
307
5
24
Lahore/DXB
aah, fudge me. You're using nginx, post the re-write rules you are using for nginx here. Disregard the htaccess instructions
 
General chit-chat
Help Users
We have disabled traderscore and are working on a fix. There was a bug with the plugin | Click for Discord
  • No one is chatting at the moment.
  • StrikerX StrikerX:
    Still not available back on Steam though
    Link
  • C chamir44:
    My withdraw
    Link
  • Necrokiller Necrokiller:
    Reminds me of the time MS tried to charge PC gamers for online play
    Link
  • Necrokiller Necrokiller:
    When will console companies realize this sh*t doesn't work on PC
    Link
  • SolitarySoldier SolitarySoldier:
    doesn't change the fact that sony is extra chu this gen
    Link
  • Link
  • StrikerX StrikerX:
    Mofos sharpened a spear and shoved it up theirs and Arrowhead's ass
    Link
  • StrikerX StrikerX:
    Sony <3
    Link
  • Necrokiller Necrokiller:
    Jeez, throwing all those sales away for the sake of PsN accounts. What a mess.
    Link
  • Link
  • Chandoo Chandoo:
    faraany3k said:
    I have heard that it is now unplayable in countries which do not support handful of third world countries not recognized by Sony like Pakistan. Steam is a true global platform.Then they cry that console gaming is dying.
    170 + countries where Steam sells but PSN doesn't will lose access unless they use VPN
    Link
  • Chandoo Chandoo:
    It has a worst rating on Steam than last years MW3 now. Jeese Sony, how can you fuck it up THIS BAD
    Link
  • faraany3k faraany3k:
    I have heard that it is now unplayable in countries which do not support handful of third world countries not recognized by Sony like Pakistan. Steam is a true global platform.Then they cry that console gaming is dying.
    Link
  • Chandoo Chandoo:
    How to ruin a perfectly good thing for dummies - by Sony
    Link
  • Link
  • Chandoo Chandoo:
    Helldivers 2 is now trending worse stream user reviews than SUICIDE SQUAD
    Link
  • Necrokiller Necrokiller:
    Good guy Gaben refunding the game way past what the policy allows 👍
    Link
  • Necrokiller Necrokiller:
    Poor Arrowhead getting screwed by Sony 😞
    Link
  • Necrokiller Necrokiller:
    Gaben ki reach hai, PSN ki nahi hai. Gaben ain't stressing over publishers who rush to his store in the first place 😂
    Link
  • Chandoo Chandoo:
    Gaben ki reach nah hai :(
    Link
  • Chandoo Chandoo:
    saeen I don't think the PSN teams are stressing over needing to offer hundreds of thousands of refunds lol
    Link
  • Necrokiller Necrokiller:
    fuckin' lol
    Link
  • Necrokiller Necrokiller:
    Saeen literally glossed over the fact that PSN isn't available in those 177 countries
    Link
  • Chandoo Chandoo:
    fuckin' lol
    Link
  • Chandoo Chandoo:
    Helldivers 2 delisted on Steam from 177 countries
    Link
    StrikerX StrikerX: Still not available back on Steam though