Questions tagged [webserver]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
9k views

How can I increase the size of my /var und shrink it from /home or other patition? [duplicate]

first of all I'm a newbie with ubunutu servers or generell with linux. So I'll be glad if someone can explain it very simple. ^^' My Server is a Ubuntu 16.04 LTS Server 64bit + Plesk Onyx from Strato ...
Crypto's user avatar
  • 23
2 votes
2 answers
2k views

How to run a golang restful api as service in ubuntu server

I need to run golang restful server that build using gin framework and mongodb as service in my ubuntu server.how can do this? (every time i run the go script i need to this also gvm use go1.4)
Nuwan Indika's user avatar
2 votes
3 answers
2k views

Installing Ubuntu Server 14.04.2 in a VMware [closed]

Hi everyone I'm trying to install Ubuntu Server 14.04.2 in a VMware station on my iMAC which is running on an intel core i5. My question is which kernel should I install? The options are: linux-...
thankgodforthissite's user avatar
2 votes
1 answer
2k views

Cannot get bugzilla to work on Ubuntu Server 14.04.1 LTS

I have Ubuntu Server 14.04.1 LTS installed on my server computer. I've installed LAMP during installation process and phpmyadmin after that, which works without any problems. Then I've downloaded ...
KernelPanic's user avatar
2 votes
1 answer
235 views

Is it possible to copy a web server?

As of late my trusty old VPS (12.04LTS) has become slower and slower to the point where it's now completely unresponsive. I'm probably much at fault here as I've upgraded and installed packages ...
Index's user avatar
  • 203
2 votes
2 answers
20k 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 = fopen("/root/...
acekapila's user avatar
2 votes
2 answers
7k views

Making websites visible to outside networks with Ubuntu Server 12.04

I am a new Ubuntu Server user, and I need some assistance in setting it up. I am using Ubuntu Server 12.04 64-bit. This is my main question: How can I set up Ubuntu Server to host a website that is ...
Daniel Skrobowski's user avatar
2 votes
1 answer
3k views

Should I install SELinux to make my Ubuntu Web server more secure?

This wiki page on using SELinux with Ubuntu informs of the following: The Ubuntu-specific "selinux" and "selinux-policy-ubuntu" packages documented here have not received much attention since ...
Desmond Hume's user avatar
2 votes
3 answers
2k views

Set up multiple intranet sites

My Ubuntu machine is on the network accessible at \\linux-server I have Apache2 installed and if I go to http://linux-server it takes me to /var/www as the root directory. Is it possible on the same ...
JD Isaacks's user avatar
  • 5,297
2 votes
0 answers
3k views

Trying to access my website results in an ERR_CONNECTION_TIMED_OUT

I took a break over Christmas from developing a webapp and I have came back today to find that I am unable to access my website in my browser, or connect to it by an FTP Client or ping my website's IP ...
jdoug's user avatar
  • 21
2 votes
0 answers
8k views

How can I get the web server Gunicorn to use 0.0.0.0:443 (for HTTPS) without running as root?

I'm trying to run a Flask application via HTTPS on Gunicorn. Up to now I have been running it successfully via HTTP using a command like the following: gunicorn --workers=4 "program.__main__:WSGI()" ...
BlandCorporation's user avatar
2 votes
0 answers
94 views

Why does pwdx output for an apache2 process show only a slash?

I have googled for this question but not found an appropriate answer. I am retrieving my process id with below command: pwdx `ps -ef | grep -i apache2 | awk '{print $2}'` It shows me output like ...
LOKESH's user avatar
  • 169
2 votes
1 answer
6k views

Can access webserver via IP but not Domain [closed]

I've spent countless hours trying to figure this out via searching on the web and re-doing various configuration files from scratch and I've gotten to the point of giving up so I'm here. I've ...
Alex P's user avatar
  • 21
2 votes
1 answer
154 views

Apache doesn't process Korean Characters in Pretty Permalink

I'm using WP with wpml with korean as default language, during language switching it apparently uses korean characters in the permalink like this. https://www.example.kr/?lang=en - 영어 I'm using ...
Someone Special's user avatar
2 votes
1 answer
1k views

How to access multiple webpage on Ubuntu 16.04 webserver from Local area network

I have search long enough but can't bump into the answer. I have ubuntu 16.04 installed for local web development in one machine on a local area network. I have done installing LAMP etc. I have ...
Sena L Chhakchhuak's user avatar
2 votes
1 answer
3k views

How to run Multiple Magento2 setup with Nginx

I want to configure multiple Magento2 setup (like 3 setups) with single domain name. like.. If I browser the URL as below then it should load separate directory based on Nginx request. test.com/m21 &...
Nilesh's user avatar
  • 21
2 votes
1 answer
4k views

How can I change Ubuntu server IP Address to web address?

How can I change Ubuntu server IP Address to the web address? For example, the address that I need to access on the browser is 192.168.x.xxx. How can I change to dev.robi.local? Thanks! The /etc/...
bicanul123's user avatar
2 votes
0 answers
3k views

Ensuring fail-safety of an Apache server

I have a few Wordpress websites running on Apache 2.4.7 / Ubuntu 14.04.2 LTS. It is a virtual machine running on Microsoft Azure. The websites are using a MySQL server also running on the same machine....
cccec's user avatar
  • 21
2 votes
1 answer
2k views

How to FTP transfer files to /var/www?

I'm new to linux and I've set up a web server with Ubuntu Desktop edition so I can practice with the GUI a bit before transitioning to Ubuntu Server. I've already set up a LAMP stack as well as FTP. ...
jc.yin's user avatar
  • 531
2 votes
0 answers
1k views

Why rewrite directive causes "301 Moved Permanently" with Nginx?

Below is a much simplified version of what I have in the configuration file of a server run by Nginx 1.2.5, yet it causes 301 Moved Permanently with Location: http://example.com/phpmyadmin/ before ...
Desmond Hume's user avatar
1 vote
5 answers
9k views

Host website without public IP

I have installed LAMP stack. I have an internet connection. My ISP has given me a static IP, but it is not public. I have a TP-LINK router. I have a registered domain. Now, I want to host my own ...
ashubuntu's user avatar
  • 554
1 vote
2 answers
1k views

Can I run a small web server from a custom directory? [duplicate]

The question may not be clear, let me explain: I develop websites using Symfony and there is a clever little command that allows me to start an apache server, taking the root of the server as the ...
SteeveDroz's user avatar
1 vote
1 answer
495 views

How can I make my server continue working without maintaining ssh connection?

I connect to my server via ssh that has erlang and cowboy installed on it for running my webpage. ssh [email protected] I then start up my webapp by doing; ./_rel/web_server_example/bin/...
Jason Basanese's user avatar
1 vote
1 answer
6k views

How do I install nginx modules

I just installed nginx through apt-get repository. But, unfortunately HttpAuthDigestModule is not included while installing. This is how to install from source - ./configure --add-module=../samizdatco-...
John Cabs's user avatar
1 vote
2 answers
3k views

I`ve installed php 5.3.24 in my UBUNTU 18.0.4 but unable to show info.php page

I`ve installed php 5.3.24 in my UBUNTU 18.0.4 but unable to show info.php page Last login: Thu Jul 11 06:59:31 2019 from 10.10.2.194 sagar@ubuntu:~$ lsb_release -a No LSB modules are available. ...
sgor's user avatar
  • 21
1 vote
2 answers
416 views

How does apache webserver "decide" what content to serve when no virtual hosts are configured?

I am trying to debug some weird behaviour on an apache 2.4 install on Ubuntu 14.04 server. I notice if I remove all virtual hosts and additional configurations by commenting out their IncludeOptional ...
Michael Coleman's user avatar
1 vote
3 answers
4k views

How to Run Dual Operating Systems, Windows 7 Primary, Ubuntu Secondary

I know how to install two operating systems, but the problem is, I only know how to set it up in a way that requires me to reboot the machine, and selecting an OS to boot up. So pretty much only one ...
Michael Ecklund's user avatar
1 vote
3 answers
3k views

Do all webservers running locally rely on the /etc/hosts file?

I'm running the Django webserver locally, and I want be able to enter www.my-site.dev or username.my-site.dev and have that map to my Django application. I've seen a lot of solutions for Apache, ...
Brian Dant's user avatar
1 vote
3 answers
15k 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 ...
TedvG's user avatar
  • 11
1 vote
2 answers
653 views

Upstart not running my dynamic DNS script

I have a dynamic DNS script as follows: #!/bin/bash curl -kL# "http://example.com/updatedns.php" echo $? >> /var/log/ddns ...saved to /usr/local/bin/ddns. Obviously the URL above isn't the one ...
kirb's user avatar
  • 174
1 vote
2 answers
6k views

How can I access a folder that starts with a dot with apache?

I need to vertify my domain to get a https certificate, my problem is that the page says that I have to put a file in a folder named .well-known. The Problem is now that I can't access this folder ...
lgplay's user avatar
  • 11
1 vote
1 answer
1k views

How to Add empty index.html from each folder and subfolder? [duplicate]

When surfing to any subfolder in my web site the browser displays the list of files in that directory. I would like to add an empty index.html file to fix this, How can I do it with a shell script or ...
Elia Weiss's user avatar
1 vote
1 answer
191 views

How to limit localhost to local browsers?

I have created a C++ server for a local use. It does not have authentication system. The problem is other computers can easily connect to this server by my IP and port. How can I limit this server ...
ar2015's user avatar
  • 417
1 vote
1 answer
38 views

Jpg with # in name not found

I have an image on my web server called image#01.jpg. If I go to http://www.myserver.com/image#01.jpg I receive a 404 error. How I can solve?
Gennaro Santoro's user avatar
1 vote
1 answer
1k views

Upgrading GCC from 4.8 to 4.9

I am trying to install the TrinityCore on my server. When upgrading the GCC to use CMake I ran into a problem: Here is the response I got: gcc-4.9 is already the newest version. 0 upgraded, 0 newly ...
Kyle Wright's user avatar
1 vote
1 answer
8k views

How to install dbvisualiser on Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-57-generic x86_64) server

I want to get data from h2 database which my server is using. After some googling, I found that DbVisualiser may help to read data from an h2 database .mv file but could not find a way to install it ...
Programming Beginner's user avatar
1 vote
3 answers
8k views

How to change the "Index of .." template?

Hi is it possible to change this page its style, etc..? EDIT # 1 Nov With Lucio answer I got it working. I've set IndexStyleSheet to one specific location so it also will operate from the same file ...
luukvhoudt's user avatar
1 vote
3 answers
11k views

Creating a Web Page in Ubuntu and accessing it through Ethernet from another Ubuntu user

I'm creating a webpage in Ubuntu, in which simple files such as .txt can be uploaded. Now, I want to transform my laptop into an Ubuntu web server, through which any other Ubuntu or Windows user can ...
dhruvil25's user avatar
1 vote
3 answers
4k views

Apache could not access to copied folder: 403 Access Forbidden

I'm new to Ubuntu. I have installed LAMP on Ubuntu and everything is OK but while I copy a folder into /var/www it is not accessible via URL. I have tried following commands: sudo cp -r Desktop/site ...
Omid's user avatar
  • 816
1 vote
2 answers
3k views

How to use DRBD for entire system replication

I have installed and configured DRBD on my Ubuntu 9.10 Servers, by following the links below. link text1 and link text2 I'm in a plan to configure Ubuntu Servers for High Availability, so i have ...
user3215's user avatar
  • 5,383
1 vote
1 answer
2k views

Is someone trying to hack my server?

So I typed journalctl after ssh(ing) into the server and got the following output: (so is someone trying to hack system or is it from my side?) (Also note the timing says 5am? but most likely none of ...
Muhammad Usman's user avatar
1 vote
2 answers
15k views

Apache Custom error message 403

i wanna to create a custom error message in Apache conf for the Error message 403 Forbidden You don't have permission to access / on this server to appear like 404 Not Found The requested URL / was ...
Don Johnny's user avatar
1 vote
1 answer
1k views

Running a local website without localhost

I'm developing some frontend Javascript code for the first time on Ubuntu. I have the code (written over the last year by others) for the site installed and ready to run. But on this Ubuntu machine ...
Rory's user avatar
  • 115
1 vote
2 answers
2k views

Checking the user executing the apache server

root@ip-172-31-38-0:/var/www# ps aux | egrep '(apache|httpd)' root 1086 0.0 0.3 88480 3160 ? Ss Mar08 0:09 /usr/sbin/apache2 -k start www-data 1089 0.0 0.8 445500 8840 ? ...
Abhishek Bhatia's user avatar
1 vote
1 answer
462 views

Why did Apache name it's Webservers Apache and Tomcat? [closed]

As usual, when my girlfriend can't sleep, I have to talk about my work. Or what she says "Tell me something about servers". So yesterday the topic was webservers and I told her about the commonly used ...
Private's user avatar
  • 3,954
1 vote
1 answer
5k views

how to install and configure Glassfish 4

How do I install Glassfish 4.x and run it on port 80? While it's easy enough to download Glassfish and unzip it, should it go in a particular directory? Which user should start and stop the server? ...
Thufir's user avatar
  • 4,551
1 vote
4 answers
9k views

Connecting to a Remote Server for the First Time

I'd like to know how to connect to a remote Ubuntu 12.04LTS OS server. I've never done this, and wondered if anyone would be willing to help a noob out; I'd appreciate it! I've always wanted to be ...
mxwljw's user avatar
  • 23
1 vote
2 answers
635 views

How can I manage multiple end-user-style localhost applications?

Over time I have installed applications that offer or require an interface runs through the browser on localhost (for example, Transmission web interface, StackApplet configuration, Veracity web ...
lofidevops's user avatar
1 vote
1 answer
6k views

Is it just me or were people trying to hack my server?

Is this kind of hacking attempts normal for a regular non-important server? I just checked my auth.log today. Jul 1 15:02:22 webserver sshd[5094]: Did not receive identification string from 188.165....
user173118's user avatar
1 vote
1 answer
7k views

I can't run apache (ubuntu server)

I can't run apache (ubuntu server) This is my output in terminal: root@srv etc/init.d/apache2 start * Starting web server apache2 ...
user2307683's user avatar

1 2 3
4
5
14