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
IMPORTANT: Please Change Your Passwords to avoid being botted. | Click for Discord
  • No one is chatting at the moment.
  • Aciel Aciel:
    This is the error.
    Link
  • Aciel Aciel:
    Online session is enabled for UBL. I have an active subscription with my NayaPay card (it is already added to Google Payment Methods).
    Link
  • B Baghi:
    did you try setting up Google Payments? For UBL you may have to get it enabled for internet transactions, Naya should work without it!
    Link
  • Aciel Aciel:
    I tried both NayaPay, and UBL, but I keep getting "correct country selected..." error. I already have PK set there 🤦‍♂️
    Link
  • Aciel Aciel:
    Baghi said:
    Link
  • B Baghi:
    Yes
    Link
  • Aciel Aciel:
    Does your VISA Cards work on Google Play Store?
    Link
  • M murtaza12:
    XPremiuM said:
    Why? Was the site hacked or something?
    Yes
    Link
  • XPremiuM XPremiuM:
    GloriousChicken said:
    Everyone, please change your passwords.
    Why? Was the site hacked or something?
    Link
  • GloriousChicken GloriousChicken:
    Everyone, please change your passwords.
    Link
  • Necrokiller Necrokiller:
    The only valid thing from his pov he said in the video is AC dead since Black Flag. According to woke police that game was woke too. Welsh man in West Indies. So atleast he's consistent I guess lol
    Link
  • Link
  • XPremiuM XPremiuM:
    Necrokiller said:
    It's based on an actual real life person so I don't think the woke police have a valid case here.
    Nope. They have a very valid case. The above video explains it all.
    Link
  • Necrokiller Necrokiller:
    It's based on an actual real life person so I don't think the woke police have a valid case here.
    • Like
    Reactions: SolitarySoldier
    Link
  • XPremiuM XPremiuM:
    Meanwhile Ghost of Tsushima PC version is out now. Looks 100 times better than ASS Creed already.
    Link
  • XPremiuM XPremiuM:
    Did y'all see the new Assassin's Creed trailer? They finally made a AC set in Japan & then they put a negro as the male protagonist. Ubisoft is taking cues from Disney, and it isn't gonna end well for them, just like Disney. Go woke, go broke!
    Link
  • Necrokiller Necrokiller:
    First Fallout 4 update and now this 🤡
    Link
  • Necrokiller Necrokiller:
    MS and Bethesda continuing their streak of massive Ls 😬
    Link
  • Link
  • funky funky:
    Hello
    Link
  • NaNoW NaNoW:
    by closing down good studios
    Link
  • NaNoW NaNoW:
    well he is breaking barriers
    • Like
    Reactions: KetchupBiryani
    Link
  • iampasha iampasha:
    SolitarySoldier said:
    Phil keeps talking about breaking barriers to gaming, making it accessible on all platforms yada yada, while killing competition and creativity at the same time. the fact that i actually believed him for a second lol
    guys the biggest yapper in the Industry right now. All he do is yap
    Link
  • Necrokiller Necrokiller:
    Phil should be held responsible for this shitfest too, just like Sarah, but it's highly likely that these decisions are coming from Satya. And this isn't even the end of it. More closures are coming.
    Link
  • SolitarySoldier SolitarySoldier:
    if we are moving towards more and more popular trash across platforms that make billions for companies, I'm happy with all the barriers and exclusivity because at least that brings some pressure to create good stuff.
    Link
    Aciel Aciel: This is the error.