Questions tagged [web-server]

Refers to the software or hardware that make up a webserver, delivering content on a private or public website.

3296 questions
1
vote
1 answer

How to configure g-wan to use virtual hosts?

Say I have a domain foo.com and a server accessible at 50.60.70.80. I have configured the DNS entries so that foo.com and www.foo.com point to 50.60.70.80. I have g-wan running on the web server. Now I want to host different web sites on foo.com and…
Jan Deinhard
  • 2,383
  • 5
  • 26
  • 33
1
vote
1 answer

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 server Ubuntu 10.04 Nginx as Reverse Proxy Apache…
cactuarz
  • 31
  • 7
1
vote
2 answers

FreeBSD disk partitioning for web-application server(Apache/MySQL/PHP)

Folks, how would you recommend to partition a server disk? Server would operate under FreeBSD, with primary use as a web-app server(i.e. apache, mysql, php) for multiple applications/websites. Disks are organized into RAID1
Alex N
  • 782
  • 3
  • 10
  • 24
1
vote
1 answer

Does uwsgi workers share a common memory ? [ With Nginx ]

I have configured my Nginx with Django uwsgi. When the django server starts, it reads a 5MB file from the hard-disk. Now, Without Nginx with Django default server python manage.py runserver => Runs immediately and starts serving pages. Problem: With…
Yugal Jindle
  • 161
  • 1
  • 6
1
vote
2 answers

Two Apache Server Root

I am using Apache Friends (XAMPP). I installed it under C: drive. Its path is C:\xampp\ Its default root is C:\xampp\htdocs.Thus, all programs need to reside in C:\xampp\htdocs\ so that we can run http://localhost/myapp/ PhpMyAdmin comes along with…
Sithu
  • 111
  • 4
1
vote
7 answers

Do I need anti-virus on a Rackspace dedicated/managed web and database (Linux) server?

I am working with Rackspace (but this applies to any good host provider) to configure a Red Hat Linux web and database server. Both machines are dedicated to us and managed by Rackspace. Rackspace asked if we wanted Sophos antivirus on our machines…
Christopher Altman
  • 769
  • 4
  • 12
  • 20
1
vote
1 answer

How to run 2 webservers with 2 domains on 1 Static IP

I have created 2 VM's on a single machine for 2 webservers. One server will be running the IIS service and the second server will be running Apache services. How do I configure my server/router to make 2 different domains work on different servers…
Azeem
  • 11
  • 1
1
vote
2 answers

Best network tuning variables for a Linux proxy

What are the best settings to tune so that Linux can handle a very large amount of TCP connections such as would be seen by a proxy server or a webserver? I'm using Centos6 and squid and am seeing a large amount of TIME_WAIT connections backing up…
smarthall
  • 138
  • 6
1
vote
1 answer

Solaris Administration Web GUI?

I recently installed Solaris 11 x86 text install ( http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html?ssSourceSiteId=ocomen) to be used as a file server running ZFS. I noticed that I'm given the bare minimum in terms of…
Robert C
  • 11
  • 2
1
vote
4 answers

Is 2-5 ms between web and database server appropriate? (Different Datacenters)

I currently have a dedicated web and database server running in datacenter (DC) 1. Im about to expand with yet another web server in datacenter 2 that will talk to the db in DC 1. The latency between the two datacenters is about 2-5 ms. Is that…
Anders Vindberg
  • 161
  • 1
  • 3
1
vote
1 answer

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 users and search engines. I've searched ServerFault…
Max
  • 3,523
  • 16
  • 53
  • 71
1
vote
1 answer

Are there anything special about IP ranges 2.x.x.x and 90.x.x.x?

Some of our users are unable to connect to one particular web server (our library catalogue), getting an "Oops! Google Chrome could not connect to..." type message across all browsers. The only thing they seem to have in common is that their IP…
pelms
  • 113
  • 4
1
vote
1 answer

How to have nginx use a default page for non-domains

Not really sure how to word the title. Say for example I only want my webserver accessible from domains and NOT the IP. How can I set a default page for when it's accessed via the IP directly?
Rob
  • 2,393
  • 9
  • 33
  • 52
1
vote
1 answer

Can one rely on Apache sanitizing URLs?

I set up Apache with mod_wsgi in a default installation, with a very simple test application test.wsgi that goes like this: def application(environ, start_response): status = '200 OK' output = 'Path: %s' % environ['PATH_INFO'] …
Niklas B.
  • 214
  • 1
  • 2
  • 9
1
vote
1 answer

restrict ssh access for different users to different folders

I was looking up how to let multiple user ssh onto my server with the authorized_keys file. I need to tweak it so that each user logs into a specific directory for each user (ie joeBlah can only see ~/folder34). I'm doing this so that I can have 3…
qwertymk
  • 109
  • 4