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

learn more… | top users | synonyms

74
votes
8answers
28k 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.
68
votes
6answers
106k 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 ...
18
votes
7answers
11k 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 ...
8
votes
6answers
63k 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 ...
7
votes
1answer
25k 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 ?
41
votes
5answers
69k 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] ...
8
votes
6answers
47k 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 ...
8
votes
3answers
594 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 ...
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 ...
2
votes
1answer
6k views

How do I apply a 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 ...
2
votes
4answers
3k views

What Updated Web Cache Servers are available (Caching HTTP Proxy)

I am going to install Ubuntu 11.10 Server (And soon 12.04 Server) and wanted to know what Web Cache servers (Caching HTTP proxy) come with Ubuntu 11.10/12.04 to improve performance and reduce ...
1
vote
1answer
120 views

setting up apache2 webserver — differences between behaviour within my intranet and outside

I am new to apache2. I have an ubuntu 12.04.4 LTS machine in my home, and just installed apache2 on it. I wanted to set up a webserver running on a port other than port 80 (my router uses port 80). ...
1
vote
2answers
1k views

Secure shared memory

In my Ubuntu deployment script I have written a function to secure shared memory. For a web server it's important to secure the shared memory to tighten up security. Below you can find the code: echo ...
1
vote
1answer
3k views

XAMPP vs. Native LAMP Packages

I'm currently in the process of setting up an Ubuntu Desktop setup for a combination of technical writing, heavy statistics/mathematical analysis, and also server-side development and I wanted to know ...
6
votes
2answers
11k 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 ...
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 ...
1
vote
2answers
3k views

How to make php webpage to access the file in /root directory?

I am using Linux 12.04,apache and php is installed on it.I want to access a text file in /root/ folder.I am really confused with the permissions.The php script i m using <?php $file = ...
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... ...
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
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 ...
3
votes
5answers
11k views

Using Terminal as a web browser [duplicate]

I've found that terminal can be used for various purposes. This will be great if I can use it as a web browser. Is there any way to use it as a web browser??
2
votes
2answers
401 views

Temperature & RAM monitoring script

I have the following script: while : do clear; echo "---------------------------RAM Load------------------------------$ free -mt >> memory.txt; free -mt; ...
1
vote
3answers
6k views

XAMPP: Deamon is already running, but it's NOT apache

This one is giving me a headache... I have installed XAMPP for Linux 1.7.7 on Ubuntu 12.10. I haven't installed the latest version because of the new security "feature" which makes XAMPP so secure I ...
1
vote
1answer
955 views

How come no one outside my network can connect to my Owncloud server?

I installed lawn software for internet online for my server, I installed owncloud 4 on it. I can connect to it using my newwork internet, but no one out side my internet newwork can connect, they say ...
1
vote
2answers
3k views

How do I install osCommerce?

Recently I've come across the osCommerce, an open-source e-commerce project, and I'd like to try it. Is it packaged in the repository (like Wordpress)? If not, how do I manually install and use it?
0
votes
1answer
38 views

Make Linux and Windows share localhost (webserver) files and database

I'd like to have ubuntu and windows share my htdocs and mysql databases for local development. This isn't a web-facing site, just for personal development use. Is there a way to do this? Is this a ...
0
votes
3answers
542 views

MySQL database in tasksel LAMP stack for osCommerce

I'm experimenting with osCommerce, an e-commerce suite, for which I installed the LAMP stack using tasksel. It did ask for a "root password" for MySQL, but other that that I did not pay attention to ...
0
votes
1answer
2k views

How to configure Firewall

How can I configure firewall for what I use as a web development server. I should be blocking all ports except 80 (HTTP), FTP, SSH? I tried configuring using ufw, gufw, firestarter but I ended up ...