-2
votes
0answers
42 views

Apache was hited from localhost at the time the server was under attack [duplicate]

I have reasons to conjecture that my server was under some kind of attack last week. (The webserver wasn't responding during the time I was teaching students of computer science at university.) I was ...
2
votes
2answers
1k views

Nginx 502 Bad Gateway - 111: Connection refused, port not being listened to

I'm aware there are many other similar questions but the solutions from those questions I feel I've already got in place. I've got 3 sites running locally on a VirtualBox Ubuntu 12.04.4 LTS Server, ...
2
votes
1answer
1k views

Can't FTP to /var/www/html on Ubuntu (groups set…)

So I'm having some issues with vsftpd. I need the webroot to be in /var/www/public because I have multiple users accessing it, so I can't put it in a users directory. Now that directory has "chown -R ...
0
votes
1answer
133 views

Apache 2.4.7 .conf file layout doesn't notice directory directive

I brought up my webserver with new Ubuntu 14.04 today and bump in to an uncomfortable problem here regardless what im trying apache doesn't recognize the directory directive or may be the DocumetRoot ...
0
votes
2answers
213 views

How to make Nginx virtual host work? (page not found) [closed]

Running Ubuntu 13.10 in VirtualBox. I've put my website in this folder: http://i.stack.imgur.com/YYhcJ.jpg And created the log folder on /srv/www/streamsy.com/logs/. I've done these steps: sudo ...
1
vote
0answers
254 views

nginx-extras ok for production server?

I need the upload progress extension on my production server running Nginx, the only problem is that to do that I must actually recompile the whole of Nginx. This means uninstalling the repo Nginx, ...
1
vote
2answers
38 views

Limiting MySQL User to connect from Second interface

The web server and the MySQL servers have a second interface on a network with no public internet access. How can a MySQL user be restricted to connect only from within the private network and ...
0
votes
1answer
1k views

Sendmail won't send email to same domain

I have seen many references to this problem on server fault and all over the internet, but none of the solutions has fixed my problem. I am running Sendmail 8.14.4 on Ubuntu 13.10, this is a ...
0
votes
0answers
67 views

Ubuntu web host update strategy

I have a couple of questions regarding best practices for updating an ubuntu web server. A server that is hosting a live website that would be very problematic should the server "go down". I am a ...
0
votes
3answers
131 views

Setting up a linux web server, noobs basic operation

This question might be an odd one to ask. However I'm a noob on linux/networking and trying to set my old Ubuntu desktop running computer as a web server and place that in my server cabinet which will ...
0
votes
1answer
76 views

folder permissions for linux webhost (ubuntu)

I have a VPS running ubuntu 12.04 that is hosting about 9 sites which are a mix of wordpress and joomla (latest versions). Apache runs under www-data and sites are hosted as virtualhost under ...
0
votes
2answers
248 views

Make files without an extension go through the PHP parser on nginx

Due to legacy reasons I need to get the following scenario working on nginx and I seem to be struggling. Say I have a file in the document root just called 'info' without any file extension. Now this ...
0
votes
2answers
237 views

NFS server and client for web servers

I have this architecture on Amazon EC2, one NFS server and one NFS client, on the client I am serving PHP and Django websites (nginx, uwsgi, php-fpm) and they work perfectly. I am experiencing an ...
-2
votes
1answer
33 views

API server specs [duplicate]

I created a simple API for my project I'm working on. The API is basically used for user authentication and to execute user actions within a panel (example: ...
0
votes
4answers
127 views

Upgrade to latest tomcat/ JRE or stick with what's provided by LTS?

Running a server with Ubuntu 12.04 which ships Tomcat 7.0.26. Should I care about updating the tomcat installation to latest 7.0.42 version or should I stick with what's provided? If I stick then am I ...
4
votes
2answers
3k views

why do nginx process run with user nobody

I was trying to setup nginx to run with one of my rails apps, when having a look at output for ps -e | grep nginx , I realised nginx worker processes run with user nobody. Is there a reason why they ...
0
votes
1answer
517 views

How to apply security update to apache

I have been running some penetration tests against our webserver and it's come up with a few issues. One of them is that apache needs a security update (http://www.ubuntu.com/usn/usn-1765-1/). I am ...
1
vote
3answers
82 views

Advice on root account and ports ubuntu server

I've recently launched a website that's only been online 2 days, just checked the auth.log and already there are multiple login attempts being made from an IP based in Asia. I've changed my own user ...
4
votes
2answers
2k views

What is the different usages for sites-available vs the conf.d directory for nginx

I have some experience using linux but none using nginx. I have been tasked with researching load-balancing options for an application server. I have used apt-get to install nginx and all seems ...
0
votes
1answer
68 views

Apache rewriting URL with port when no port in the Virtual Hosts file

Environment Ubuntu 12.10 Apache 2.2.22 Background I'm using name-based virtual hosting. During some point in the setup I added a port 5001 to the virtual hosts list, and successfully accessed ...
0
votes
1answer
71 views

Network request intercept preventing local connections

I'm experiencing a really weird issue on my Ubuntu 10.04 web server where something appears to be intercepting my network requests. Most importantly it's preventing me from performing local ...
0
votes
0answers
233 views

Tomcat 5.5.HTTP 404, the requested resource is not available, NFSv4 mount

I am getting the HTTP 404, requested resource is not available. I do not know how to tackle this issue. Let me give you a brief overview of the environment. I have a system running on CentOS 6.4, ...
1
vote
1answer
73 views

Linux Program For Stress Testing Current Website [duplicate]

I'm evolved in a project and the server cost's we're using are going to be based on a number of different factors. One of those factors are how many cores we need for the website. If there a ...
0
votes
3answers
878 views

How to set acl on my fstab file?

I would like to enable acl on my remote server. So I type the following command df to know on which partition I am : Here is the result : Filesystem 1K-blocks Used Available Use% Mounted on ...
0
votes
1answer
1k views

How to understand random 500 internal errors in Nginx?

Our server is showing a lot of 500 internal error pages for random requests. We know the app is working because our code is unit tested. The server setup is Nginx with Unicorn running a single Rails ...
1
vote
2answers
98 views

webserver unreachable for short periods

We have a development webserver (ubuntu) with some websites running on it. Most of the time this works fine but since some time when we are developing we get a "cannot connect" error when loading a ...
0
votes
1answer
86 views

How to allow clients from virtual network connect to ubuntu web-server hosted on VirtualBox?

I have a web-app running on VirtualBox Ubuntu VM. And also I have a virtual network with users which I want to let use this web-app. Software for virtual network called 'Remobo'. In VM network ...
1
vote
4answers
866 views

Apache causes ridiculous load on server

I have apache2 running on a server. Today there were a lot of http requests (but not unusual) and somehow the load average went up to over 200(!!!). Obviously the website was down (not reachable). ...
-2
votes
2answers
212 views

Setting up Ubuntu server for webhosting? [closed]

Edit: Main questions - How do you setup Nameservers? Do I have to setup the DNS, if so, how? I just want to be able to type in www.mydomain.com and have it point to my server here locally. I don't ...
0
votes
1answer
123 views

Upgrading PHP-FPM while minimizing downtime

I am running nginx 1.2.6 on Ubuntu. With nginx, I can perform upgrades gracefully, so that no incoming requests will be lost. Is there any process like that for PHP-FPM? If so, what is the process ...
1
vote
0answers
155 views

nginx does not respect “root” directive

I'm running an EC2 instance with Ubuntu and trying to setup virtual servers for two domains without luck and cannot figure out why. My web documents are located in /var/www/<domain> and ...
0
votes
1answer
198 views

nginx with nodejs

I want to install nodejs and nginx on Ubintu Server 12.4 and set they up for robust working on. Can you provide answers for the following questions: Where should I install nodejs? Where should I to ...
0
votes
1answer
86 views

postfix for web server [closed]

Situation: small (young) company, one root server for web, mail with google apps. Mail to "foo@example.com" is sent to google, but webbrowsers are directed to the server (example.com and ...
0
votes
2answers
1k views

View all IPs coming into my linux VPS

I am hosting a web server with linode.com and I want to view all the incoming connections that are going to my nginx web-server. I am running Ubuntu system and I can't seem to find anything like this. ...
3
votes
1answer
264 views

How to find the reason for a weekly downtime on an Ubuntu web server hosted by AWS?

We started monitoring our web server using Pingdom and found out that we have a downtime of a few minutes every Sunday at 0:00 UTC. The test runs every minute and checks if a successful HTTP response ...
-1
votes
0answers
292 views

PHP stop working after a server reboot

I reboot my server and suddenly the PHP-FastCGI stop working . I try to do - /etc/init.d/php-fastcgi restart Also i try to restart my Nginx : /etc/init.d/php-fastcgi restart How can i turn on ...
-1
votes
1answer
199 views

what are the must have applications for an intermediate devop? [closed]

Over the past year my responsibilities have grown from managing 5 servers to 20+. Most all of these are either on EC2 or Linode and they all serve different purposes. Some are on CentOS and others on ...
0
votes
1answer
382 views

how to configure proxy server (squid) to certain link

I need to configure a proxy server: which will allow my clients to connect to my proxy server then they will be able to see a login page. When I asked some IT gurus they told me "configure the ...
-2
votes
2answers
276 views

Linux/Apache 2.2.6 ServerTokens Full change to ServerTokens Prod

Noob questions im guessing but im trying to find where to change "ServerTokens Full" to "ServerTokens Prod" but I cannot seem to find it. im in the apache/apache2.conf. Along with this I want to turn ...
2
votes
1answer
5k views

Where should I set a FTP user's home directory?

I want to create an FTP account on my Ubuntu server that amongst other things, runs as a LAN webserver. Should I set the FTP user's home directory to /var/www/, or should I set it differently? I ask ...
-1
votes
1answer
107 views

Website worked yesterday, but not today [closed]

I was working with my website yesterday when I was at home using my web address. Everything seemed fine. When I got to work today, I tried opening my website, and now the connection times out. I can ...
0
votes
2answers
614 views

Use AssignUserId as variable in Apache MPM ITK

I heard that the MPM-ITK module for Apache can change Apache server's behaviour to access some folder / file using the UID or GID from the default UID (www-data) into a given UID on the configuration. ...
0
votes
2answers
639 views

keepAlive in Apache causing apache to reach its max_clients

I have an Apache 2.2 running on ubuntu 11.4 with 16Gb RAM, for image hosting from mobile phones through GPRS,since connection is slow i have enabled keepalive and set time out to 6,**based on average ...
0
votes
1answer
208 views

Keep alive and Max_client issue in Apache

I have installed Apache/2.2.17 on ubuntu 11.4(64bit) ,with 48 GB of RAM, and set KeepAlive ON MaxKeepAliveRequests 100 keepalivetimeout to 6 (since lot of dynamic images) StartServers 100 ...
0
votes
1answer
114 views

Why won't my Web site work over the internet? [closed]

I have setup an Ubuntu 10.04(LTS) server at home that is used as a web server. Primarily to give me access to my private cloud where I have 2TB of storage available to me. I am using OwnCloud for this ...
0
votes
2answers
539 views

ubuntu settings for mail sending

What should I install, on fresh Ubuntu server, to make proper working web scripts for sending out emails ? I've tried to install mailutils but it want to install postfix also. But i don't want to ...
1
vote
1answer
180 views

Forward Request to Multiple Servers

We have 2 servers. One is old server and another is the new one. Currently we about doing a migration because the old server is not capable enough to handle everyday requests. The specs are: Old ...
-2
votes
1answer
159 views

Ubuntu web server 11.10 ftp/server issue

I was wondering if I could get some help with FTP, atleast I'm pretty sure it has to do with FTP. Although it could have to do with something else, I'm not 100% sure.. Now, for fare warning, I'm no ...
1
vote
1answer
308 views

Block illegitimate traffic (hackers, scrapers, spammers) to your website

According to a recent report from ZDNet, 31% of traffic is illegitimate (hackers, scrapers, spammers). The challenge as a sysadmin is to find a way to block that traffic without blocking your real ...
0
votes
1answer
1k views

How to make sure www directory is secure?

I managed to order a new VPS account from linode I have installed Ubuntu 10.04 LTS with 'LAMP Stack' StackScript. I notice the website directory is located in /srv/www/ and I thought this is quite ...