Web server can refer to either the hardware (the computer) or the software (the computer application) that helps to deliver content that can be accessed through the Internet.

learn more… | top users | synonyms

57
votes
8answers
17k 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.
53
votes
7answers
76k 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 ...
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... ...
21
votes
5answers
963 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 ...
19
votes
3answers
23k 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
9k views

What is the best way to add files to a website on a LAMP Server?

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 ...
12
votes
4answers
15k views

Custom Apache 404 page

I want to customise the 404 page of my Apache Webserver on Ubuntu to something other than the general: Not Found The requested URL /***** was not found on this server. ...
10
votes
1answer
353 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
4answers
11k 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] ...
9
votes
1answer
8k views

How do I access Ubuntu server running in VirtualBox from outside

I have installed Ubuntu Server 12.04LTS 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, this ...
9
votes
2answers
17k 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
2answers
542 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 ...
7
votes
3answers
561 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 ...
7
votes
1answer
18k 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
6k 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
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 ...
6
votes
2answers
8k 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
5answers
45k views

Ubuntu 12.04 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 ...
6
votes
1answer
169 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
2answers
5k 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 ...
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
9k 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
6answers
31k 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 ...
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
2k 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
1answer
317 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
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
3answers
5k 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
397 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 ...
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
3k 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
2answers
256 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
1answer
1k 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
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
302 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
220 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
3k 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
333 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
2answers
4k 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 ...
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
5k 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 ...
3
votes
2answers
246 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 ...
3
votes
1answer
314 views

Is LAMP strictly for development purposes? [closed]

So basically, is LAMP strictly for development purposes or is it fine for production websites as well? I ask this because I have recently switched to Ubuntu from Windows and if LAMP is anything like ...
3
votes
2answers
2k views

What is “GFI WebMonitor Secure Download”? and how to disable it?

Please help me to disable it! it offends me while downloading via Web browsers.
3
votes
0answers
176 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 ...