A web server is a program that responds to network requests over the HTTP or HTTPS protocol.

learn more… | top users | synonyms

68
votes
8answers
26k views

How to avoid using sudo when working in /var/www?

I want to stop having to use sudo everytime I work in /var/www. How can I do that? I simply want to put all of my sites into this directory and work with them without too much pain.
66
votes
6answers
100k views

Whats the simplest way to edit and add files to “/var/www”?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative ...
36
votes
5answers
54k views

How to know what program is listening on a given port?

I suspect a program is listening on port 8000 on my machine. When I run the following command, I get that error: > python -m SimpleHTTPServer # Lots of python error socket.error: [Errno 98] ...
30
votes
0answers
25k views

How to setup a Git server? [duplicate]

I am trying to setup a Git server could. Can anyone tell me how to set up a Git server, so that client machines can connect to that server and make use of Git version control for their projects... ...
29
votes
5answers
6k views

How to easily start a webserver in any folder?

I'm looking for a relatively painless way to launch a web server with document root in any folder I specify (or better yet, where I'm launching). I often try out new things like JS frameworks or so ...
27
votes
4answers
40k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log ...
18
votes
7answers
10k views

Should I symlink my /var/www directory to my home?

I have just installed Ubuntu Server 10.04 with a LAMP setup. I want to host a website there but I'm not sure which is the best way to get/edit my files on the server. Googling provides many options ...
13
votes
1answer
18k views

How do I access Ubuntu server running in VirtualBox from outside

I have installed Ubuntu Server 12.04 LTS on my laptop via VirtualBox. I have installed LAMP, OpenSSH, Mail server. As I logged in, I ran ifconfig. It gave me the inet address as 192.168.0.3. So, ...
11
votes
1answer
408 views

I've inherited a dangerously out of date server. How do I plan to safely upgrade it?

Apticron runs nightly on the box and is telling me that I have about 150 updates that need to be made. The server is running quite a few important services with no true backup so I'm scared to just ...
9
votes
2answers
21k views

How to make Jetty webserver listen on port 80?

I would like to use Jetty as a webserver. I have edited the configuration file at /etc/default/jetty and set: # change to 0 to allow Jetty start NO_START=0 # Listen to connections from this ...
8
votes
3answers
589 views

Remote administration of a server?

I'm going to install a ubuntu server to provide email, ftp and maybe webserver services too. I dont want to install a gui for the server, but I'd like to administrate it remotely. I was thinking in ...
8
votes
5answers
60k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Keep user jailed

Before you close this out to repetition, I have been researching all of the proposed solutions to this bug and so far I have been unable to keep a FTP user jailed to their website directory. While I ...
8
votes
2answers
599 views

Can I use a desktop install as a server?

I'm new to Linux and Ubuntu is my first distribution. I have chosen Ubuntu because I want to learn more about Linux. I'm under time constraints and need to setup a server as soon as possible. I have ...
8
votes
3answers
1k views

Recommended workflows for Apache virtual hosts?

I do a lot of local web development work on my Ubuntu machine, and I'm constantly setting up virtual hosts in Apache. I don't need to do hard core server management, but I am getting tired of the ...
7
votes
1answer
24k views

How to install icinga on Ubuntu 12.04 & Monitor remote host?

How to install latest icinga & icinga-web on Ubuntu Server 12.04 & How to monitor remote hosts ?
7
votes
5answers
8k views

Recommendation of web server admin control panel (free, open source, deb package)?

I'm looking for: a safe/secure web admin control panel for a web server preferably free and open source in official repositories or at least with regular updates and an easy way to update to newer ...
7
votes
2answers
10k views

“allrequestsallowed.com”… Hack attempt?

I have many attempts on my (small, personal and absolutely unimportant) web server, and apache and fail2ban usually do their job right. But there's a log entry that worries me: xx.yy.www.zzz - - ...
6
votes
1answer
3k views

Start MySQL on Startup

I installed MySQL, and changed the configuration so the databases are stored on a separate hard drive. In the process MySQL has stopped starting up automatically. When I start the computer, I need to ...
6
votes
1answer
214 views

If a company is using ubuntu on its servers/dektops, does it have to pay?

a friend of my friend has started a small firm and given me the responsibility to erect all the IT infrastructure required? I'm basically a windows guy that too on the developer side. But recently I ...
6
votes
6answers
43k views

Change XAMPP's htdocs web root folder to another one

I'm trying to change the XAMPP's web root default directory /opt/lampp/htocs to another one like /home/me/Dropbox/public_html without success. I've edited the file /opt/lampp/etc/httpd.conf # old ...
6
votes
2answers
10k views

How to get apache to serve a site via VirtualBox?

This tutorial taught me how to create an Ubuntu Server (12.10, 64-bit) VM in VirtualBox on a Windows 7 host machine, install Apache and have it serve a site from a dummy domain accessible via the host ...
6
votes
1answer
3k views

How do I set up an Ubuntu server as a secondary DNS

The company I now work for specializes in web development. They are currently selling clients packages where they develop web applications for them to help automate certain business tasks for them. ...
5
votes
3answers
7k views

How I can turn off unknown webserver (Apache probably)?

I want to start XAMPP Apache server but it terminal it says that another web server daemon is already running. So I want to find out how to turn off it or so. When I go to localhost I get following ...
5
votes
3answers
12k views

Is it easy to install Apache web server on Ubuntu desktop?

So I have decided to build a Ubuntu computer, for now I am going to dual boot with Win7, and then install apache web server. Figured I would give the whole web thing a try. Did some searching but ...
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 ...
5
votes
1answer
417 views

How would I broadcast a subdomain/virtual name on a local server with people connected to the same network

I have a server connected to the router which has ubuntu 12.04. It is has apache/mysql/php all installed ready to go. the folder structure is like this: /var/www -- this isnt the root -/libs -/logs ...
4
votes
4answers
1k views

Is Ubuntu Server only available with the command line?

One day my company is going to need a server, and I like Ubuntu since it has the least amount of viruses out of all the OSes (I think), but when I look at the Ubuntu Server it only has black ...
4
votes
2answers
3k views

My user can't upload files to folders owned by www-data

I think I have screwed up my permissions in Ubuntu. I am using my server to run PHP. I recently ran across a problem where PHP could not create directories in the var/www-directory, so I searched ...
4
votes
1answer
1k views

Benefits of using Squid proxy in Ubuntu Server

What are some of the benefits of installing Squid Proxy in an Ubuntu Server that is sharing its Internet connection to a group of PCs in a LAN.
4
votes
1answer
1k views

Renaming localhost

By default 127.0.0.1 has the localhost alias. I found several approaches to changing it to a different string, but what is the standard, effective and safe best-practice way of doing it? Can I give ...
4
votes
3answers
1k views

Chrome mistakenly downloads localhost/wordpress pages, but Firefox doesn't

I have Wordpress installed at http://localhost/wordpress When I try and view a page in Chrome, it downloads the PHP file rather than showing the page. When I view in Firefox, everything works fine. ...
4
votes
2answers
1k views

How can I host my own website

I have bought a domain lets say it example.com, I also own an Ubuntu 10.04 machine which I would like to use it to serve my personal website. I have deployed the website on my local machine and its ...
4
votes
2answers
5k views

How to assign correct permissions to both webserver and svn users?

I've an issue with files ownerships. I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php. However I'm now using svn and ...
4
votes
3answers
7k views

HTTP(S) based file server

I've got a server running Ubuntu 10.04. I've already gotten openssh for ssh and sftp on it. I've been looking for a web-based (http, or preferably https) file server, perhaps a web-front-end to an ...
4
votes
2answers
429 views

Why does my server only uses 3GB of memory

The server has 24 GB of memory and 4 quad-core cpu's. It runs a busy website on apache/MySQL/php and sometimes gives a message that the server load is too high. When I look at the logs it never uses ...
4
votes
1answer
340 views

Cannot run MonoDevelop 4.2 with XSP4

Gents, I'm new on Linux and I tried to start .NET under Ubuntu when I start debugging a sample from MonoDevelop ASP.NET app it gives the following error: Could not launch web server. The "XSP4" web ...
3
votes
2answers
274 views

Problem downloading Rapidshare file (URL encoding)

I installed Plowshare knowing that it can download rapidshare files from terminal, but if there are any parentheses () or brackets [] in the link then it can't download the link. Can this problem be ...
3
votes
3answers
3k views

Cpanel like platform

I'm looking for a automated point-and-click hosting platform like Cpanel. Is any free and open source platform and which of them do you thing is the best? I prefer to be free of charge.
3
votes
1answer
4k views

How do I test virtual hosts in Apache before I buy the domains?

Is it possible to setup an Apache virtual host without a domain name, I just want to use my IP to test my website until I get a domain name. Examples in Apache documenation only seem to have domain ...
3
votes
1answer
2k views

How can I host a website in a virtual machine?

Before you shoot this down, please let me explain what I mean.... I am running Windows, I also have a virtual machine installed that is running Ubuntu. I want to set up a website on Ubuntu (the ...
3
votes
1answer
6k views

Changing permissions for folders and files in /var/www/?

I am quite new to ubuntu and I have been trying to install BuilderEngine a content management system to my ubuntu server 12.04 lts I have figured some things out but I am stuggling with permission for ...
3
votes
1answer
876 views

Storing website files in /usr/share/www/ instead of /var/www/ [closed]

I have just seen the /var/ directory being defined as: Multi-purpose log, temporary, transient, and spool files. A memory-based file system is sometimes mounted at /var. Whereas /usr/ has been ...
3
votes
1answer
2k views

Streaming a webcam video to the web-page in Ubuntu

I need a software which were able to capture images from a webcam and stream it to the web-page. I already tried a webcam-server, but it uses java applet on the client side for retrieving pictures, ...
3
votes
1answer
320 views

How do i use .net on ubuntu server?

I have been running a webserver on my ubuntu server. Now my friend wants me to also run .net on my server. How do i run .net on it ? I have no knowledge about .net though my friend is quite good in ...
3
votes
1answer
245 views

how to browse to a local web site from my ubuntu desktop

I run a web server just on my local network on a Windows XP machine using IIS. The main app I created keeps track of all my bookmarks so that no matter which computer I'm using in my home, I have ...
3
votes
1answer
4k views

How do I establish an FTP connection from Windows to Ubuntu Server?

I have a LAMP web-server on Ubuntu 11.10, working perfectly. But now I want to develop my website from a Windows 7 system in the same network. I want to set up an FTP connection to Ubuntu so I can ...
3
votes
2answers
343 views

Moving a LAMP set up from 32 bit to 64 bit

I have setup an Ubuntu server 10.10 32bit on an old Dell D610 Laptop for testing. I have the latest PHP, MySQL and Apache with Wordpress installed. After the testing is over and once I finish adding ...
3
votes
2answers
1k views

Ubuntu chroot “No such file or directory”

I have a web application where I create some folders on my server and put executables there. Then I try to run them with chroot but I get a message that access is denied there. I tried chmod -R 777 ...
3
votes
1answer
1k views

How to give directory and file permissions to a web server

I'm a Linux newbie. I'm doing a project that uses the gosmore routing engine. In one of my email to the developer about a certain problem, he replied to me that to solve the problem: "I think you ...
3
votes
3answers
6k views

How to make an Ubuntu Server system accessible over the Internet?

I just installed ubuntu server 12.04 on my office pc with: Open SSH DNS LAMP I also have following installed and configured: webmin PHPmyadmin proftp I have set my IP to static in ...