0
votes
0answers
12 views

Installing mysql-server gives 504 Gateway Time-out

So I have this site im coding on that requires a database and is based on PHP. So for this site i installed phpmyadmin that also installed mysql-server. Before I installed phpmyadmin I didn't get a ...
1
vote
0answers
39 views

Make a Ubuntu Server ready for takeoff as a webserver

What are the necessary steps to make an ubuntu server ready for productive operation as a webserver? I've assumed that the server distro of ubuntu doesn't have to be further tweaked to make it ready ...
2
votes
2answers
108 views

hosts file and unclear behavior. How to make real alias?

I'm trying to create alias for my local website which is runned by vagrant(virtual box), hence I want redirect any requests from site.ru to 192.168.10.10/site.ru via /etc/hosts file. In the hosts file ...
0
votes
0answers
303 views

Trying to access my ubuntu server via a domain name registered via godaddy

I am trying to host my own web server. So I registered a domain name example.com via godaddy. I have an A record of example.com pointing to 12.34.56.78 (my wan IP address). I have nginx setup on ...
0
votes
0answers
302 views

I can't get Ubuntu Server 12.04/NginX to outperform Windows 2008 Server/IIS 7.5

I am determined to get NginX on Ubuntu Server 12.04 LTS to outperform IIS 7.5 on Windows 2008 Server. For comparison, I am using a Apache Bench and a simple (231 byte) html file. The Ubuntu server and ...
0
votes
1answer
171 views

what is the nginx equivalent command apache has for a2enmod?

I'm following this guide: How to Setup OwnCloud Server 5 with SSL Connection Problem though is that the guide is for apache but I am using nginx for my server. As such I am trying to "reverse ...
1
vote
1answer
940 views

How do I install nginx modules

I just installed nginx through apt-get repository. But, unfortunately HttpAuthDigestModule is not included while installing. This is how to install from source - ./configure ...
1
vote
1answer
433 views

NginX access configuration

I'm using ubuntu x64 server with nginx as webserver. In my company, we configured intranet (local) dns server so that, when you enter domain1.com, it goes directly into defined LAN ip adress. We ...
0
votes
1answer
309 views

+30 sites using 1gb ram on nginx

I have a LEMP setup (Ubuntu 12.04, Nginx, Mysql, PHP 5.3 and APC) and I have 30 sites hosted on it. They all are wordpress sites. It uses about 1GB RAM. Is this normal? I thought nginx would use less ...
0
votes
1answer
96 views

Starting LEMP server at startup

Based on this blog post I've installed LEMP server. Is there any easy way to add this web server: PHP-FPM, Nginx, MySQL into startup applications list?
2
votes
0answers
319 views

Why rewrite directive causes “301 Moved Permanently” with Nginx?

Below is a much simplified version of what I have in the configuration file of a server run by Nginx 1.2.5, yet it causes 301 Moved Permanently with Location: http://example.com/phpmyadmin/ before ...
1
vote
1answer
265 views

Nginx and automatic updates

I'm on Ubuntu 12.04.1 with unattended-upgrades configured for automatic security updates, and I installed Nginx by first adding deb http://nginx.org/packages/ubuntu/ lucid nginx deb-src ...
3
votes
2answers
270 views

Setting up my www directory correctly

I'm quite new to Ubuntu and Linux in general. I need to create a my www directory (in /home) and set the permissions/ownership correctly so that any new files and directories created by myself (via ...
0
votes
1answer
540 views

403 Error when using nginx to access file other than index.htm

I set up nginx on Ubuntu 12.04 and when remotely accessing a file other than the index.htm/php/html, the server says that access is forbidden. I tried to search for a solution but no luck. Any ...
5
votes
1answer
1k views

Crashed my server, how do I find out what happened?

From a remote machine, I ran 100 concurrent requests against my Ubuntu VPS ab -n 100 -c 100 http://... And, as I suspected, the server "crashed". I can still ping it, and it responds very quickly ...